Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Apr 2006 14:02:40 -0400 (EDT)
From:      Rong-En Fan <rafan@infor.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/96222: [MAINTAINER] devel/p5-Encode: respect ${CC}
Message-ID:  <200604231802.k3NI2elf092019@woodstock.rafan.org>
Resent-Message-ID: <200604231810.k3NIAMds067258@freefall.freebsd.org>

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

>Number:         96222
>Category:       ports
>Synopsis:       [MAINTAINER] devel/p5-Encode: respect ${CC}
>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:   Sun Apr 23 18:10:22 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Rong-En Fan
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
NTU CSIE
>Environment:
System: FreeBSD woodstock.rafan.org 7.0-CURRENT FreeBSD 7.0-CURRENT #21: Tue Apr 11 22:22:56 EDT 2006
>Description:
Respect ${CC}, noticed by kris@.

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- p5-Encode-2.15.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/p5-Encode/Makefile /home/rafan/tmp/ports/p5-Encode/Makefile
--- /usr/ports/devel/p5-Encode/Makefile	Wed Apr 19 00:02:23 2006
+++ /home/rafan/tmp/ports/p5-Encode/Makefile	Sun Apr 23 14:01:45 2006
@@ -28,4 +28,8 @@
 	${PERL} -pi -e '$$_="" if $$.>=18 && $$.<=20' ${WRKSRC}/Makefile.PL
 .endif
 
+post-configure:
+	@${FIND} ${WRKSRC}/ -name Makefile -exec \
+		${REINPLACE_CMD} -e 's,^CC =,CC ?=,' {} \;
+
 .include <bsd.port.post.mk>
--- p5-Encode-2.15.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?200604231802.k3NI2elf092019>