Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Aug 2014 14:22:25 +0000 (UTC)
From:      Adam Weinberger <adamw@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r364180 - head/www/mysqlphp2postgres
Message-ID:  <53e23a21.5154.6ec3781@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53e23a21.5154.6ec3781>