ports/93455: [patch] security/zebedee - uphold CC flag

Mario Sergio Fujikawa Ferreira lioux at FreeBSD.org
Thu Feb 16 23:00:38 UTC 2006


>Number:         93455
>Category:       ports
>Synopsis:       [patch] security/zebedee - uphold CC flag
>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 Feb 16 23:00:20 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Mario Sergio Fujikawa Ferreira
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD exxodus.fedaykin.here 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Tue Feb 14 15:45:02 BRST 2006 lioux at exxodus:/usr/obj-6.x/usr/src-6.x/sys/LIOUX i386

>Description:
	The port does not uphold the CC /etc/make.conf flag

>How-To-Repeat:
	Just build the port with /usr/bin/gcc and it will noticed
that the build will using gcc instead of /usr/bin/gcc. The path
is the catch. On my system, I use ccache and this port does not
respect that.

>Fix:
	Patch to port Makefile.

--- patch-Makefile begins here ---
--- Makefile.orig	Wed Feb 15 13:18:07 2006
+++ Makefile	Wed Feb 15 13:18:36 2006
@@ -26,6 +26,11 @@
 		client2.key clients.id
 DOCS=		README.txt LICENCE.txt CHANGES.txt zebedee.html ftpgw.tcl.html
 
+post-patch:
+	@${REINPLACE_CMD} \
+		-e 's| gcc| ${CC}|' \
+		${BUILD_WRKSRC}/${MAKEFILE}
+
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/zebedee ${PREFIX}/bin
 	${INSTALL_SCRIPT} ${WRKSRC}/ftpgw.tcl ${PREFIX}/bin
--- patch-Makefile ends here ---


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



More information about the freebsd-ports-bugs mailing list