summaryrefslogtreecommitdiff
path: root/net/socat/hacks.mk
diff options
context:
space:
mode:
authorschmonz <schmonz>2007-04-27 22:31:53 +0000
committerschmonz <schmonz>2007-04-27 22:31:53 +0000
commit6b49d90cc6563f26e2d17562dfa8b43b07fe87cf (patch)
treed0a25ff3181b3bc2e89c0c0abda439b8c75c4eab /net/socat/hacks.mk
parent2796c60a71869633c5226f6c3740972191bc083c (diff)
downloadpkgsrc-6b49d90cc6563f26e2d17562dfa8b43b07fe87cf.tar.gz
Add the usual macosx-bind9-bind8compat hack to fix build on OS X.
Diffstat (limited to 'net/socat/hacks.mk')
-rw-r--r--net/socat/hacks.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/net/socat/hacks.mk b/net/socat/hacks.mk
new file mode 100644
index 00000000000..b5ebdf36191
--- /dev/null
+++ b/net/socat/hacks.mk
@@ -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