aboutsummaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2015-03-31 21:53:57 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2015-03-31 21:53:57 +0000
commite0de4b29fd8bd6d32e2f51610581bc5b144a0e18 (patch)
tree2722d4d5443df865c10394193c0a35dbe1063af1 /sysutils
parent8cb678080dc6b13ac8e6d7d684e72bb05fc8f871 (diff)
downloadports-e0de4b29fd8bd6d32e2f51610581bc5b144a0e18.tar.gz
ports-e0de4b29fd8bd6d32e2f51610581bc5b144a0e18.zip
Notes
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/dirdiff/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysutils/dirdiff/Makefile b/sysutils/dirdiff/Makefile
index b042ab49724c..fdfd9896fe76 100644
--- a/sysutils/dirdiff/Makefile
+++ b/sysutils/dirdiff/Makefile
@@ -20,6 +20,11 @@ PLIST_FILES= bin/dirdiff lib/libfilecmp.so.0
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 ; \