Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Mar 2015 21:53:58 +0000 (UTC)
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r382877 - head/sysutils/dirdiff
Message-ID:  <201503312153.t2VLrwP6036643@svn.freebsd.org>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201503312153.t2VLrwP6036643>