pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/djbdns Use CPPFLAGS (not CFLAGS) to -DPKG_SYSCONFD...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b47693bea0a9
branches:  trunk
changeset: 335689:b47693bea0a9
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Fri Jun 28 19:11:11 2019 +0000

description:
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:

 net/djbdns/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 48cf6a28c111 -r b47693bea0a9 net/djbdns/Makefile
--- a/net/djbdns/Makefile       Fri Jun 28 17:13:50 2019 +0000
+++ b/net/djbdns/Makefile       Fri Jun 28 19:11:11 2019 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index