pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/qmail Use CPPFLAGS, not CFLAGS, for consistency w...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/21a6a6255151
branches:  trunk
changeset: 397529:21a6a6255151
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Fri Jun 28 19:18:25 2019 +0000

description:
Use CPPFLAGS, not CFLAGS, for consistency with ucspi-tcp6 and djbdns.

diffstat:

 mail/qmail/Makefile   |  4 ++--
 mail/qmail/options.mk |  6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 3aaba3aaf9e2 -r 21a6a6255151 mail/qmail/Makefile
--- a/mail/qmail/Makefile       Fri Jun 28 19:15:06 2019 +0000
+++ b/mail/qmail/Makefile       Fri Jun 28 19:18:25 2019 +0000
@@ -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 @@
 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 -r 3aaba3aaf9e2 -r 21a6a6255151 mail/qmail/options.mk
--- a/mail/qmail/options.mk     Fri Jun 28 19:15:06 2019 +0000
+++ b/mail/qmail/options.mk     Fri Jun 28 19:18:25 2019 +0000
@@ -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 @@
 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 @@
 .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



Home | Main Index | Thread Index | Old Index