Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  8 Aug 2006 12:26:22 +0400 (MSD)
From:      Stanislav Sedov <ssedov@mbsd.msk.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        Vasil Dimov <vd@FreeBSD.org>
Subject:   ports/101644: [MAINTAINER] games/pets: fix silly error in Makefile
Message-ID:  <20060808082623.0D48012F23@fonon.realnet>
Resent-Message-ID: <200608080830.k788UHhc046882@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         101644
>Category:       ports
>Synopsis:       [MAINTAINER] games/pets: fix silly error in Makefile
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 08 08:30:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Stanislav Sedov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #1: Wed Aug  2 21:44:37 MSD
>Description:
 - Fix stupid error in makefile.
 Sorry!

>How-To-Repeat:
>Fix:

--- pets-1.0.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/games/pets/Makefile /var/tmp/pets/Makefile
--- /usr/ports/games/pets/Makefile	Sun Jul 30 01:28:37 2006
+++ /var/tmp/pets/Makefile	Tue Aug  8 12:23:22 2006
@@ -21,12 +21,12 @@
 
 SUB_FILES=	pkg-message
 
-GTK_CFLAGS!=	pkg-config gtk+-2.0 gdk-pixbuf-xlib-2.0 --cflags
-GTK_LDFLAGS!=	pkg-config gtk+-2.0 gdk-pixbuf-xlib-2.0 --libs
+GTK_CFLAGS=	pkg-config gtk+-2.0 gdk-pixbuf-xlib-2.0 --cflags
+GTK_LDFLAGS=	pkg-config gtk+-2.0 gdk-pixbuf-xlib-2.0 --libs
 
 do-build:
-	(cd ${WRKSRC} && ${CXX} ${CFLAGS} ${GTK_CFLAGS}-c pet.cc)
-	(cd ${WRKSRC} && ${CXX} ${LDFLAGS} ${GTK_LDFLAGS} pet.o -o pets)
+	(cd ${WRKSRC} && ${CXX} ${CFLAGS} `${GTK_CFLAGS}` -c pet.cc)
+	(cd ${WRKSRC} && ${CXX} ${LDFLAGS} `${GTK_LDFLAGS}` pet.o -o pets)
 
 do-install:
 	${MKDIR} ${DATADIR}
--- pets-1.0.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060808082623.0D48012F23>