svn commit: r382877 - head/sysutils/dirdiff

Pietro Cerutti gahr at FreeBSD.org
Tue Mar 31 21:53:58 UTC 2015


Author: gahr
Date: Tue Mar 31 21:53:57 2015
New Revision: 382877
URL: https://svnweb.freebsd.org/changeset/ports/382877
QAT: https://qat.redports.org/buildarchive/r382877/

Log:
  - Fix build
  
  PR:		199058
  Submitted by:	Lawrence Chen <beastie at tardisi.com>
  Discussed with:	bapt

Modified:
  head/sysutils/dirdiff/Makefile

Modified: head/sysutils/dirdiff/Makefile
==============================================================================
--- head/sysutils/dirdiff/Makefile	Tue Mar 31 21:53:14 2015	(r382876)
+++ head/sysutils/dirdiff/Makefile	Tue Mar 31 21:53:57 2015	(r382877)
@@ -20,6 +20,11 @@ PLIST_FILES=	bin/dirdiff lib/libfilecmp.
 
 CFLAGS+=	-fPIC -I${TCL_INCLUDEDIR}
 
+# When bsdmake is used to build the port, the ports infrastructure should call
+# it with MAKE_ENV+=  __MAKE_CONF=/dev/null to avoid sourcing make.conf twice.
+# This is a workaround to make sure CFLAGS are passed through.
+MAKE_ARGS=	CFLAGS="${CFLAGS}"
+
 post-patch:
 	@${REINPLACE_CMD} -e \
 		's|.0.0|.0|g ; \


More information about the svn-ports-head mailing list