summaryrefslogtreecommitdiff
path: root/sysutils/9base
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2013-12-10 14:11:32 +0000
committerjperkin <jperkin@pkgsrc.org>2013-12-10 14:11:32 +0000
commiteaf8b367012f6504215d06bc00b385d1dcb990e8 (patch)
tree552d4334abcf32ef7fdc17cfcf996e76b3ef2bb3 /sysutils/9base
parent7a7fa92720febce35ee8004abb62f19b0211241a (diff)
downloadpkgsrc-eaf8b367012f6504215d06bc00b385d1dcb990e8.tar.gz
Fix flags on SunOS. Patch from Sebastian Wiedenroth.
Diffstat (limited to 'sysutils/9base')
-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