summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/host/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/net/host/Makefile b/net/host/Makefile
index ec9361f7d9f..9403cdd7c33 100644
--- a/net/host/Makefile
+++ b/net/host/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2006/09/09 02:43:11 obache Exp $
+# $NetBSD: Makefile,v 1.14 2006/10/03 09:04:10 schwarz Exp $
DISTNAME= host-20040812
CATEGORIES= net
@@ -15,4 +15,11 @@ MAKE_FILE= Makefile.BSD
MAKE_FLAGS+= __NetBSD__=1
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "Darwin"
+CPPFLAGS+= -DBIND_8_COMPAT
+BUILDLINK_TRANSFORM+= rm:-Wl,--warn-common
+BUILDLINK_TRANSFORM+= rm:-static
+.endif
+
.include "../../mk/bsd.pkg.mk"