summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorschwarz <schwarz@pkgsrc.org>2006-10-03 09:04:10 +0000
committerschwarz <schwarz@pkgsrc.org>2006-10-03 09:04:10 +0000
commitc813bc19b13af7346e826ed71ce2039634ce1e73 (patch)
tree5b3d5126d4a4d4b50bed8bf615683f43b1d30a10 /net
parent8b03a5d2c82169fdc782ec0c4946249d709a43d2 (diff)
downloadpkgsrc-c813bc19b13af7346e826ed71ce2039634ce1e73.tar.gz
added support for Darwin
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"