aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjlaffaye <jlaffaye@FreeBSD.org>2013-02-14 03:26:48 +0800
committerjlaffaye <jlaffaye@FreeBSD.org>2013-02-14 03:26:48 +0800
commita2c97ce95a7fce2ccabce0b9c32280b5295006af (patch)
treeb80cb0a35b1ba07fa75014f485c238be11ada0c9
parent024e8eb1235b426b7649004ed4667ddb16a5c73e (diff)
downloadfreebsd-ports-gnome-a2c97ce95a7fce2ccabce0b9c32280b5295006af.tar.gz
freebsd-ports-gnome-a2c97ce95a7fce2ccabce0b9c32280b5295006af.tar.zst
freebsd-ports-gnome-a2c97ce95a7fce2ccabce0b9c32280b5295006af.zip
Fix plist on i386
Submitted by: skreuzer (private mail)
-rw-r--r--lang/go/Makefile3
-rw-r--r--lang/go/pkg-plist2
2 files changed, 4 insertions, 1 deletions
diff --git a/lang/go/Makefile b/lang/go/Makefile
index f1862c2a181e..e378a48042c1 100644
--- a/lang/go/Makefile
+++ b/lang/go/Makefile
@@ -3,6 +3,7 @@
PORTNAME= go
PORTVERSION= 1.0.3
+PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= lang
MASTER_SITES= GOOGLE_CODE
@@ -27,9 +28,11 @@ SUB_LIST+= GOOBJ=${GOOBJ} \
.if ${ARCH} == "i386"
GOARCH=386
GOOBJ=8
+PLIST_SUB+= ENAM="@comment "
.else
GOARCH=amd64
GOOBJ=6
+PLIST_SUB+= ENAM=""
.endif
PLIST_SUB+= ARCH=${GOARCH} \
diff --git a/lang/go/pkg-plist b/lang/go/pkg-plist
index 7b8a14a3f10d..afe0b8245ddd 100644
--- a/lang/go/pkg-plist
+++ b/lang/go/pkg-plist
@@ -561,7 +561,7 @@ go/src/cmd/6l/6.out.h
go/src/cmd/6l/Makefile
go/src/cmd/6l/asm.c
go/src/cmd/6l/doc.go
-go/src/cmd/6l/enam.c
+%%ENAM%%go/src/cmd/6l/enam.c
go/src/cmd/6l/l.h
go/src/cmd/6l/list.c
go/src/cmd/6l/mkenam