Skip site navigation (1)Skip section navigation (2)
Date:      15 Feb 2006 13:21:54 -0200
From:      Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        greg@hewgill.com
Subject:   ports/93455: [patch] security/zebedee - uphold CC flag
Message-ID:  <20060215152217.76022.qmail@exxodus.fedaykin.here>
Resent-Message-ID: <200602162300.k1GN0QPG070752@freefall.freebsd.org>

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

>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@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:



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