ports/143743: [PATCH] misc/getopt Respect CC
Rob Farmer
rfarmer at predatorlabs.net
Thu Feb 11 01:41:38 UTC 2010
>Number: 143743
>Category: ports
>Synopsis: [PATCH] misc/getopt Respect CC
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Feb 11 01:41:25 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Rob Farmer
>Release: 9.0-CURRENT
>Organization:
>Environment:
FreeBSD coretwo.predatorlabs.net 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r203695: Tue Feb 9 03:02:13 PST 2010 rfarmer at coretwo.predatorlabs.net:/usr/obj/usr/src/sys/CORETWO amd64
>Description:
Respect ${CC}
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/misc/getopt/Makefile,v
retrieving revision 1.10
diff -u -r1.10 Makefile
--- Makefile 27 Jul 2008 04:30:51 -0000 1.10
+++ Makefile 10 Feb 2010 06:42:41 -0000
@@ -24,6 +24,9 @@
MAN1= getopt.1
DOCS= Changelog README
+post-patch:
+ @${REINPLACE_CMD} -e 's|CC=gcc|CC=${CC}|' ${WRKSRC}/Makefile
+
.if !defined(NOPORTDOCS)
post-install:
@${MKDIR} ${DOCSDIR}
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list