pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/socat Add the usual macosx-bind9-bind8compat hack ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8b157f588c32
branches:  trunk
changeset: 528289:8b157f588c32
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Fri Apr 27 22:31:53 2007 +0000

description:
Add the usual macosx-bind9-bind8compat hack to fix build on OS X.

diffstat:

 net/socat/hacks.mk |  9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

diffs (13 lines):

diff -r 53852822653a -r 8b157f588c32 net/socat/hacks.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/socat/hacks.mk        Fri Apr 27 22:31:53 2007 +0000
@@ -0,0 +1,9 @@
+# $NetBSD: hacks.mk,v 1.1 2007/04/27 22:31:53 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