pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mail/qmail This already had a hack to fix building on ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/98458724c30b
branches:  trunk
changeset: 505326:98458724c30b
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Mon Jan 02 21:13:43 2006 +0000

description:
This already had a hack to fix building on OS X with BIND9 system
resolver. Convert it to the less hacky one used elsewhere, mainly
so that I won't miss it when implementing a more general solution
to this common problem.

diffstat:

 mail/qmail/hacks.mk   |  9 +++++++++
 mail/qmail/options.mk |  8 +-------
 2 files changed, 10 insertions(+), 7 deletions(-)

diffs (35 lines):

diff -r 3ed3ccb61ef0 -r 98458724c30b mail/qmail/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/qmail/hacks.mk       Mon Jan 02 21:13:43 2006 +0000
@@ -0,0 +1,9 @@
+# $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
diff -r 3ed3ccb61ef0 -r 98458724c30b mail/qmail/options.mk
--- a/mail/qmail/options.mk     Mon Jan 02 21:01:59 2006 +0000
+++ b/mail/qmail/options.mk     Mon Jan 02 21:13:43 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.18 2005/12/05 20:50:35 rillig Exp $
+# $NetBSD: options.mk,v 1.19 2006/01/02 21:13:43 schmonz Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.qmail
 PKG_SUPPORTED_OPTIONS+=        darwin sasl syncdir tls qmail-badrcptto qmail-bigdns
@@ -30,12 +30,6 @@
 PATCHFILES+=           ${DARWIN_PATCH}
 SITES_${DARWIN_PATCH}= http://http.netdevice.com:9080/qmail/patch/
 PATCH_DIST_STRIP.${DARWIN_PATCH}=      -p1
-post-wrapper:
-       ${_PKG_SILENT}${_PKG_DEBUG}                                     \
-       nameser8_compat_h="include/nameser8_compat.h";                  \
-       if [ ! -e /usr/$${nameser8_compat_h} ]; then                    \
-               ${TOUCH} ${BUILDLINK_DIR}/$${nameser8_compat_h};        \
-       fi
 DARWINSUFX=            .doc
 .else
 DARWINSUFX=            # empty



Home | Main Index | Thread Index | Old Index