Skip to content
Permalink
Browse files

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.
  • Loading branch information...
schmonz committed Jun 28, 2019
1 parent 69e8774 commit 2fa580d6c613dd337c9fe9e1862485377cb5d511
Showing with 2 additions and 2 deletions.
  1. +2 −2 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

0 comments on commit 2fa580d

Please sign in to comment.
You can’t perform that action at this time.