From 46c17d6ef175cdbad7f477c9206f4391d9ad7173 Mon Sep 17 00:00:00 2001 From: Adam Weinberger Date: Wed, 6 Aug 2014 14:22:25 +0000 Subject: [PATCH] Un-hardcode gcc. --- www/mysqlphp2postgres/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/mysqlphp2postgres/Makefile b/www/mysqlphp2postgres/Makefile index 230cf7f2b5f6..3ab0346c7a1b 100644 --- a/www/mysqlphp2postgres/Makefile +++ b/www/mysqlphp2postgres/Makefile @@ -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