summaryrefslogtreecommitdiff
path: root/net/go-net
diff options
context:
space:
mode:
authorwiedi <wiedi@pkgsrc.org>2016-12-10 19:07:20 +0000
committerwiedi <wiedi@pkgsrc.org>2016-12-10 19:07:20 +0000
commit2738eea7620e5d58b33a1208af1be2762b9a112f (patch)
tree0308f21edcb4535180c7ac8104418559e1f674d2 /net/go-net
parent552a36e523236f94403db0b7b4fde7b263fd3d56 (diff)
downloadpkgsrc-2738eea7620e5d58b33a1208af1be2762b9a112f.tar.gz
add PLIST special case for files not yet supported on SunOS
Diffstat (limited to 'net/go-net')
-rw-r--r--net/go-net/Makefile12
-rw-r--r--net/go-net/PLIST6
2 files changed, 14 insertions, 4 deletions
diff --git a/net/go-net/Makefile b/net/go-net/Makefile
index e011cb0f88b..81718cc4b00 100644
--- a/net/go-net/Makefile
+++ b/net/go-net/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2016/12/04 16:30:00 bsiegert Exp $
+# $NetBSD: Makefile,v 1.12 2016/12/10 19:07:20 wiedi Exp $
#
DISTNAME= go-net-20160910
@@ -16,6 +16,16 @@ LICENSE= modified-bsd
GO_SRCPATH= golang.org/x/net
GO_DIST_BASE= ${GITHUB_PROJECT}-${GITHUB_TAG}*
+.include "../../mk/bsd.prefs.mk"
+
+PLIST_VARS+= notsunos
+
+.if ${OPSYS} != "SunOS"
+# route support is not yet implemented for sunos
+# h2i is missing terminal.MakeRaw and terminal.Restore
+PLIST.notsunos= yes
+.endif
+
.include "../../textproc/go-text/buildlink3.mk"
.include "../../security/go-crypto/buildlink3.mk"
.include "../../lang/go/go-package.mk"
diff --git a/net/go-net/PLIST b/net/go-net/PLIST
index 7b3835ea3be..bc2c1272a1c 100644
--- a/net/go-net/PLIST
+++ b/net/go-net/PLIST
@@ -1,5 +1,5 @@
-@comment $NetBSD: PLIST,v 1.3 2016/09/11 08:25:40 bsiegert Exp $
-bin/h2i
+@comment $NetBSD: PLIST,v 1.4 2016/12/10 19:07:20 wiedi Exp $
+${PLIST.notsunos}bin/h2i
gopkg/pkg/${GO_PLATFORM}/golang.org/x/net/bpf.a
gopkg/pkg/${GO_PLATFORM}/golang.org/x/net/context.a
gopkg/pkg/${GO_PLATFORM}/golang.org/x/net/context/ctxhttp.a
@@ -21,7 +21,7 @@ gopkg/pkg/${GO_PLATFORM}/golang.org/x/net/lex/httplex.a
gopkg/pkg/${GO_PLATFORM}/golang.org/x/net/netutil.a
gopkg/pkg/${GO_PLATFORM}/golang.org/x/net/proxy.a
gopkg/pkg/${GO_PLATFORM}/golang.org/x/net/publicsuffix.a
-gopkg/pkg/${GO_PLATFORM}/golang.org/x/net/route.a
+${PLIST.notsunos}gopkg/pkg/${GO_PLATFORM}/golang.org/x/net/route.a
gopkg/pkg/${GO_PLATFORM}/golang.org/x/net/trace.a
gopkg/pkg/${GO_PLATFORM}/golang.org/x/net/webdav.a
gopkg/pkg/${GO_PLATFORM}/golang.org/x/net/webdav/internal/xml.a