1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00

Respect ${CC}

PR:		96222
Submitted by:	Rong-En Fan <rafan@infor.org> (maintainer)
Noticed by:	kris
This commit is contained in:
Erwin Lansing 2006-04-24 09:16:35 +00:00
parent a1b3421310
commit 74689cbbf8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=160293
2 changed files with 8 additions and 0 deletions

View File

@ -28,4 +28,8 @@ post-patch:
${PERL} -pi -e '$$_="" if $$.>=18 && $$.<=20' ${WRKSRC}/Makefile.PL ${PERL} -pi -e '$$_="" if $$.>=18 && $$.<=20' ${WRKSRC}/Makefile.PL
.endif .endif
post-configure:
@${FIND} ${WRKSRC}/ -name Makefile -exec \
${REINPLACE_CMD} -e 's,^CC =,CC ?=,' {} \;
.include <bsd.port.post.mk> .include <bsd.port.post.mk>

View File

@ -28,4 +28,8 @@ post-patch:
${PERL} -pi -e '$$_="" if $$.>=18 && $$.<=20' ${WRKSRC}/Makefile.PL ${PERL} -pi -e '$$_="" if $$.>=18 && $$.<=20' ${WRKSRC}/Makefile.PL
.endif .endif
post-configure:
@${FIND} ${WRKSRC}/ -name Makefile -exec \
${REINPLACE_CMD} -e 's,^CC =,CC ?=,' {} \;
.include <bsd.port.post.mk> .include <bsd.port.post.mk>