diff options
author | jperkin <jperkin@pkgsrc.org> | 2014-07-07 16:44:18 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2014-07-07 16:44:18 +0000 |
commit | 481f6894741ffdd29c4a8408602e96da3d9a9986 (patch) | |
tree | 0ddd8f27e13ce2fd04a350a7afc16270ceba21f9 /lang | |
parent | c836e9b89538f553377505daaaa702acc68e9afc (diff) | |
download | pkgsrc-481f6894741ffdd29c4a8408602e96da3d9a9986.tar.gz |
PLIST fixes for SunOS.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/go/Makefile | 10 | ||||
-rw-r--r-- | lang/go/PLIST | 5 |
2 files changed, 12 insertions, 3 deletions
diff --git a/lang/go/Makefile b/lang/go/Makefile index 124bb82f83d..0f2a693414d 100644 --- a/lang/go/Makefile +++ b/lang/go/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2014/06/22 14:50:47 bsiegert Exp $ +# $NetBSD: Makefile,v 1.15 2014/07/07 16:44:18 jperkin Exp $ VERSION= 1.3 DISTNAME= go${VERSION}.src @@ -35,6 +35,14 @@ GO_COMPILER= 5 PLIST_SUBST+= GO_PLATFORM=${LOWER_OPSYS:Q}_${GOARCH:Q} GOARCH=${GOARCH:Q} PLIST_SUBST+= GO_COMPILER=${GO_COMPILER:Q} +PLIST_VARS+= cgo zsyscall + +.if ${OPSYS} == "SunOS" +PLIST.zsyscall= yes +.else +PLIST.cgo= yes +.endif + # cgo compiles under TMPDIR TMPDIR?= /tmp BUILDLINK_PASSTHRU_DIRS+= ${TMPDIR} diff --git a/lang/go/PLIST b/lang/go/PLIST index 38d6a38944e..9bdb3a37651 100644 --- a/lang/go/PLIST +++ b/lang/go/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.9 2014/06/22 14:50:47 bsiegert Exp $ +@comment $NetBSD: PLIST,v 1.10 2014/07/07 16:44:18 jperkin Exp $ bin/go bin/gofmt go/AUTHORS @@ -502,7 +502,7 @@ go/pkg/${GO_PLATFORM}/regexp.a go/pkg/${GO_PLATFORM}/regexp/syntax.a go/pkg/${GO_PLATFORM}/runtime.a go/pkg/${GO_PLATFORM}/runtime.h -go/pkg/${GO_PLATFORM}/runtime/cgo.a +${PLIST.cgo}go/pkg/${GO_PLATFORM}/runtime/cgo.a go/pkg/${GO_PLATFORM}/runtime/debug.a go/pkg/${GO_PLATFORM}/runtime/pprof.a go/pkg/${GO_PLATFORM}/runtime/race.a @@ -2783,6 +2783,7 @@ go/src/pkg/runtime/zslice_${GO_PLATFORM}.c go/src/pkg/runtime/zstring_${GO_PLATFORM}.c go/src/pkg/runtime/zsymtab_${GO_PLATFORM}.c go/src/pkg/runtime/zsys_${GO_PLATFORM}.s +${PLIST.zsyscall}go/src/pkg/runtime/zsyscall_${LOWER_OPSYS}_${GO_PLATFORM}.c go/src/pkg/runtime/ztime_${GO_PLATFORM}.c go/src/pkg/runtime/zversion.go go/src/pkg/sort/example_interface_test.go |