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/88f1bff6c4b2
branches:  trunk
changeset: 397526:88f1bff6c4b2
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 9bb0b94bdbee -r 88f1bff6c4b2 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