svn commit: r364180 - head/www/mysqlphp2postgres

Adam Weinberger adamw at FreeBSD.org
Wed Aug 6 14:22:26 UTC 2014


Author: adamw
Date: Wed Aug  6 14:22:25 2014
New Revision: 364180
URL: http://svnweb.freebsd.org/changeset/ports/364180
QAT: https://qat.redports.org/buildarchive/r364180/

Log:
  Un-hardcode gcc.

Modified:
  head/www/mysqlphp2postgres/Makefile

Modified: head/www/mysqlphp2postgres/Makefile
==============================================================================
--- head/www/mysqlphp2postgres/Makefile	Wed Aug  6 14:20:36 2014	(r364179)
+++ head/www/mysqlphp2postgres/Makefile	Wed Aug  6 14:22:25 2014	(r364180)
@@ -13,6 +13,9 @@ COMMENT=	Convert MySQL calls in a PHP pa
 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
 


More information about the svn-ports-head mailing list