ports/96222: [MAINTAINER] devel/p5-Encode: respect ${CC}

Rong-En Fan rafan at infor.org
Sun Apr 23 18:10:29 UTC 2006


>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 at .

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:



More information about the freebsd-ports-bugs mailing list