summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjperkin <jperkin>2013-12-10 14:11:32 +0000
committerjperkin <jperkin>2013-12-10 14:11:32 +0000
commit022dda085769b35342e26566d7056b998a8e60fc (patch)
tree552d4334abcf32ef7fdc17cfcf996e76b3ef2bb3 /sysutils
parentc3157b19ef2cb8f3adda0a55f7423c3d1adde36d (diff)
downloadpkgsrc-022dda085769b35342e26566d7056b998a8e60fc.tar.gz
Fix flags on SunOS. Patch from Sebastian Wiedenroth.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/9base/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysutils/9base/Makefile b/sysutils/9base/Makefile
index e883d3c65e8..7b28afbf08e 100644
--- a/sysutils/9base/Makefile
+++ b/sysutils/9base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2012/10/23 19:50:50 asau Exp $
+# $NetBSD: Makefile,v 1.18 2013/12/10 14:11:32 jperkin Exp $
#
DISTNAME= 9base-6
@@ -24,6 +24,10 @@ PKG_SHELL= bin/rc
# See http://developer.apple.com/library/mac/#qa/qa1118/_index.html
.if ${OPSYS} == "Darwin"
BUILDLINK_TRANSFORM+= rm:-static
+.elif ${OPSYS} == "SunOS"
+BUILDLINK_TRANSFORM+= rm:-static
+CFLAGS+= -DPLAN9PORT
+LDFLAGS+= -lsocket -lnsl
.else
LDFLAGS+= -static
.endif