pkgsrc-WIP-changes archive

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

wip/pdnsd: added fix for recent versions of MacOS



Module Name:	pkgsrc-wip
Committed By:	Georg Schwarz <schwarz%NetBSD.org@localhost>
Pushed By:	schwarz
Date:		Fri Apr 28 16:46:04 2017 +0200
Changeset:	68254b5adce63c827b431a8732c4c29e5abbf0cf

Modified Files:
	pdnsd/Makefile

Log Message:
wip/pdnsd: added fix for recent versions of MacOS

Recent versions of MacOS must have __APPLE_USE_RFC_3542 set in order to
compile

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=68254b5adce63c827b431a8732c4c29e5abbf0cf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 pdnsd/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diffs:
diff --git a/pdnsd/Makefile b/pdnsd/Makefile
index c0c1bd9fb6..2762d931c6 100644
--- a/pdnsd/Makefile
+++ b/pdnsd/Makefile
@@ -36,6 +36,12 @@ CONFIGURE_ARGS+=	--disable-src-addr-disc
 .endif
 CONFIGURE_ARGS+=	--with-default-id=${PDNSD_USER}
 
+.if !empty(PKG_OPTIONS:Minet6)
+# the following is needed at least on MacOS 10.11
+# and should not hurt on earlier versions
+CFLAGS.Darwin+=	-D__APPLE_USE_RFC_3542
+.endif
+
 PKG_GROUPS=		${PDNSD_GROUP}
 PKG_USERS=		${PDNSD_USER}:${PDNSD_GROUP}
 PKG_GECOS.${PDNSD_USER}=	proxy\ DNS\ server\ user


Home | Main Index | Thread Index | Old Index