summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2019-06-28 19:11:11 +0000
committerschmonz <schmonz@pkgsrc.org>2019-06-28 19:11:11 +0000
commitfce06e41b98bc37caa1e4a41d113cea61c6cbf5f (patch)
tree58a334d64b5774b0a20f48acbd4b288f6f9037e1 /net
parent2e69dbcf978f84b6d4cefe590702dfdc43d51f7f (diff)
downloadpkgsrc-fce06e41b98bc37caa1e4a41d113cea61c6cbf5f.tar.gz
Use CPPFLAGS (not CFLAGS) to -DPKG_SYSCONFDIR. No functional change
intended (or observed on OS X), and might help CentOS 7 bulk build failure that I can't reproduce.
Diffstat (limited to 'net')
-rw-r--r--net/djbdns/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/djbdns/Makefile b/net/djbdns/Makefile
index 82a73691f01..0678d3ea233 100644
--- a/net/djbdns/Makefile
+++ b/net/djbdns/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.68 2019/01/05 06:18:11 schmonz Exp $
+# $NetBSD: Makefile,v 1.69 2019/06/28 19:11:11 schmonz Exp $
DISTNAME= djbdns-1.05
PKGREVISION= 14
@@ -25,7 +25,7 @@ SUBST_SED.etc= -e 's|/etc/dnsrewrite|${PKG_SYSCONFBASE}/dnsrewrite|g'
SUBST_MESSAGE.etc= Fixing prefix.
EGDIR= ${PREFIX}/share/examples/${PKGBASE}
-CFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
+CPPFLAGS+= -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
MAKE_DIRS+= ${PKG_SYSCONFDIR}
CONF_FILES+= ${EGDIR}/dnsroots.global ${PKG_SYSCONFDIR}/dnsroots.global
BUILD_DEFS+= PKG_SYSCONFBASE