summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2019-06-28 19:18:25 +0000
committerschmonz <schmonz@pkgsrc.org>2019-06-28 19:18:25 +0000
commit6b54ec732b5d358be0e566e261c50f396e242800 (patch)
tree72640d04df262eaf87fdd968f497493076c29a11 /mail
parent0f61e769717f34600094ef49a64aa983d36e15df (diff)
downloadpkgsrc-6b54ec732b5d358be0e566e261c50f396e242800.tar.gz
Use CPPFLAGS, not CFLAGS, for consistency with ucspi-tcp6 and djbdns.
Diffstat (limited to 'mail')
-rw-r--r--mail/qmail/Makefile4
-rw-r--r--mail/qmail/options.mk6
2 files changed, 5 insertions, 5 deletions
diff --git a/mail/qmail/Makefile b/mail/qmail/Makefile
index 8ac018c3ebb..2109bd5fc99 100644
--- a/mail/qmail/Makefile
+++ b/mail/qmail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.110 2019/04/10 22:24:57 schmonz Exp $
+# $NetBSD: Makefile,v 1.111 2019/06/28 19:18:25 schmonz Exp $
#
DISTNAME= netqmail-1.06
@@ -39,7 +39,7 @@ DJB_BUILD_TARGETS= man
INSTALL_TARGET= setup
DJB_RESTRICTED= no
-CFLAGS.Darwin+= -DBIND_8_COMPAT=1
+CPPFLAGS.Darwin+= -DBIND_8_COMPAT=1
PKG_SYSCONFSUBDIR= qmail
OWN_DIRS+= ${PKG_SYSCONFDIR} ${PKG_SYSCONFDIR}/alias
diff --git a/mail/qmail/options.mk b/mail/qmail/options.mk
index 12d6bec1777..8ad33ad7f77 100644
--- a/mail/qmail/options.mk
+++ b/mail/qmail/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.64 2019/06/19 17:46:39 schmonz Exp $
+# $NetBSD: options.mk,v 1.65 2019/06/28 19:18:25 schmonz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.qmail
PKG_SUPPORTED_OPTIONS+= eai inet6 pam syncdir tai-system-clock tls
@@ -14,7 +14,7 @@ QMAILPATCHES+= eai:${EAI_PATCH}
EAI_PATCH= netqmail-1.06-tls-20160918-onlyremote-20181107-spp-20181109-smtputf8-20181109.patch
PATCHFILES+= ${EAI_PATCH}
SITES.${EAI_PATCH}= https://schmonz.com/qmail/eai/
-CFLAGS+= -DEHLO=1
+CPPFLAGS+= -DEHLO=1
.endif
.if !empty(PKG_OPTIONS:Mpam)
@@ -96,7 +96,7 @@ PLIST_VARS+= tls
.if !empty(PKG_OPTIONS:Mtls)
PLIST.tls= yes
. include "../../security/openssl/buildlink3.mk"
-CFLAGS+= -DTLS=20190408 # NOTE: match what's _in_ the patch
+CPPFLAGS+= -DTLS=20190408 # NOTE: match what's _in_ the patch
USE_TOOLS+= openssl
SUBST_CLASSES+= tmprsadh
SUBST_STAGE.tmprsadh= do-configure