pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/qmail Just set CFLAGS.Darwin in Makefile.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e1f23fc7a96d
branches:  trunk
changeset: 388706:e1f23fc7a96d
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Thu Dec 13 05:05:05 2018 +0000

description:
Just set CFLAGS.Darwin in Makefile.

diffstat:

 mail/qmail/Makefile |  4 +++-
 mail/qmail/hacks.mk |  9 ---------
 2 files changed, 3 insertions(+), 10 deletions(-)

diffs (31 lines):

diff -r 483c5090e924 -r e1f23fc7a96d mail/qmail/Makefile
--- a/mail/qmail/Makefile       Thu Dec 13 05:01:55 2018 +0000
+++ b/mail/qmail/Makefile       Thu Dec 13 05:05:05 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.104 2018/12/04 17:01:39 schmonz Exp $
+# $NetBSD: Makefile,v 1.105 2018/12/13 05:05:05 schmonz Exp $
 #
 
 DISTNAME=              netqmail-1.06
@@ -39,6 +39,8 @@
 INSTALL_TARGET=                setup
 DJB_RESTRICTED=                no
 
+CFLAGS.Darwin+=                -DBIND_8_COMPAT=1
+
 PKG_SYSCONFSUBDIR=     qmail
 OWN_DIRS+=             ${PKG_SYSCONFDIR} ${PKG_SYSCONFDIR}/alias
 OWN_DIRS+=             ${PKG_SYSCONFDIR}/control ${PKG_SYSCONFDIR}/users
diff -r 483c5090e924 -r e1f23fc7a96d mail/qmail/hacks.mk
--- a/mail/qmail/hacks.mk       Thu Dec 13 05:01:55 2018 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-# $NetBSD: hacks.mk,v 1.1 2006/01/02 21:13:43 schmonz Exp $
-
-.include "../../mk/bsd.prefs.mk"
-
-# Fix build on OS X with BIND9 system resolver
-.if ${OPSYS} == "Darwin"
-PKG_HACKS+=            macosx-bind9-bind8compat
-CFLAGS+=               -DBIND_8_COMPAT=1
-.endif



Home | Main Index | Thread Index | Old Index