ports/52275: Update port: graphics/gnofract4d

KATO Tsuguru tkato at prontomail.com
Thu May 15 13:20:20 UTC 2003


>Number:         52275
>Category:       ports
>Synopsis:       Update port: graphics/gnofract4d
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 15 06:20:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Support CXXFLAGS properly

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/graphics/gnofract4d/Makefile graphics/gnofract4d/Makefile
--- /usr/ports/graphics/gnofract4d/Makefile	Mon Apr 21 12:22:28 2003
+++ graphics/gnofract4d/Makefile	Thu May 15 19:30:09 2003
@@ -7,6 +7,7 @@
 
 PORTNAME=	gnofract4d
 PORTVERSION=	1.7
+PORTREVISION=	1
 CATEGORIES=	graphics gnome
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -14,18 +15,19 @@
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Weird GNOME fractal generator
 
-USE_REINPLACE=	yes
 USE_X_PREFIX=	yes
 USE_GNOME=	gnomeprefix gnomehack gnomelibs
+USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
+CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LIBS="-L${LOCALBASE}/lib"
+		LDFLAGS="-L${LOCALBASE}/lib"
 CONFIGURE_ARGS=	--enable-compile-warnings=no
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
-	@${FIND} ${WRKSRC} -name "*Makefile*" | ${XARGS} ${REINPLACE_CMD} -e \
-		's|-g -O2 -Wall -D_REENTRANT|\@CXXFLAGS\@|g ; \
+	@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+		's|^CXXFLAGS =.* -D|CXXFLAGS = @CXXFLAGS@ -D|g ; \
 		 s|gnofract4d_helpdir)/images|gnofract4d_helpdir)|g'
 
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list