diff options
author | bapt <bapt@FreeBSD.org> | 2016-06-23 14:41:27 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2016-06-23 14:41:27 +0800 |
commit | aa112e9db878d1ce3c5c2348eab8555b6e4f7b73 (patch) | |
tree | 24435c5f94c38ebabe09c697cb58e42d4988c344 /lang | |
parent | 96137992068334ec6d6add6dd4d20292175b0365 (diff) | |
download | freebsd-ports-gnome-aa112e9db878d1ce3c5c2348eab8555b6e4f7b73.tar.gz freebsd-ports-gnome-aa112e9db878d1ce3c5c2348eab8555b6e4f7b73.tar.zst freebsd-ports-gnome-aa112e9db878d1ce3c5c2348eab8555b6e4f7b73.zip |
Use relative symlinks to make the port relocation friendly
Diffstat (limited to 'lang')
-rw-r--r-- | lang/go/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/go/Makefile b/lang/go/Makefile index 1357628c5261..25ed79dd5bf0 100644 --- a/lang/go/Makefile +++ b/lang/go/Makefile @@ -4,6 +4,7 @@ PORTNAME= go PORTVERSION= 1.6.2 PORTEPOCH= 1 +PORTREVISION= 1 CATEGORIES= lang MASTER_SITES= http://golang.org/dl/ DISTNAME= go${PORTVERSION}.src @@ -58,7 +59,7 @@ do-build: do-install: @${CP} -a ${WRKSRC} ${STAGEDIR}${PREFIX} .for f in go gofmt - @${LN} -sf ${PREFIX}/go/bin/${f} ${STAGEDIR}${PREFIX}/bin/${f} + @${LN} -sf ../go/bin/${f} ${STAGEDIR}${PREFIX}/bin/${f} .endfor regression-test: build |