summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorschwarz <schwarz>2006-10-03 09:04:10 +0000
committerschwarz <schwarz>2006-10-03 09:04:10 +0000
commit2cb363cc75221f5fbba34cd83a5f8db00a8d869b (patch)
tree5b3d5126d4a4d4b50bed8bf615683f43b1d30a10 /net
parentad04ace4f5749f8eb30acd2681d3c7627b85afd8 (diff)
downloadpkgsrc-2cb363cc75221f5fbba34cd83a5f8db00a8d869b.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"