pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/go-net add PLIST special case for files not yet su...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8bf64f10b572
branches:  trunk
changeset: 355694:8bf64f10b572
user:      wiedi <wiedi%pkgsrc.org@localhost>
date:      Sat Dec 10 19:07:20 2016 +0000

description:
add PLIST special case for files not yet supported on SunOS

diffstat:

 net/go-net/Makefile |  12 +++++++++++-
 net/go-net/PLIST    |   6 +++---
 2 files changed, 14 insertions(+), 4 deletions(-)

diffs (46 lines):

diff -r 8010d43ac848 -r 8bf64f10b572 net/go-net/Makefile
--- a/net/go-net/Makefile       Sat Dec 10 14:06:43 2016 +0000
+++ b/net/go-net/Makefile       Sat Dec 10 19:07:20 2016 +0000
@@ -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 @@
 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 -r 8010d43ac848 -r 8bf64f10b572 net/go-net/PLIST
--- a/net/go-net/PLIST  Sat Dec 10 14:06:43 2016 +0000
+++ b/net/go-net/PLIST  Sat Dec 10 19:07:20 2016 +0000
@@ -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/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



Home | Main Index | Thread Index | Old Index