1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Un-hardcode gcc.

This commit is contained in:
Adam Weinberger 2014-08-06 14:22:25 +00:00
parent 3f40276a8c
commit 46c17d6ef1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=364180

View File

@ -13,6 +13,9 @@ COMMENT= Convert MySQL calls in a PHP page into PostgreSQL calls
ALL_TARGET= default
PLIST_FILES= bin/mysqlphp2postgres
post-patch:
@${REINPLACE_CMD} -e 's|gcc|${CC}|; s|-O2*|${CFLAGS}|' ${WRKSRC}/Makefile
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin