svn commit: r417345 - head/lang/go
Baptiste Daroussin
bapt at FreeBSD.org
Thu Jun 23 06:41:28 UTC 2016
Author: bapt
Date: Thu Jun 23 06:41:27 2016
New Revision: 417345
URL: https://svnweb.freebsd.org/changeset/ports/417345
Log:
Use relative symlinks to make the port relocation friendly
Modified:
head/lang/go/Makefile
Modified: head/lang/go/Makefile
==============================================================================
--- head/lang/go/Makefile Thu Jun 23 06:36:18 2016 (r417344)
+++ head/lang/go/Makefile Thu Jun 23 06:41:27 2016 (r417345)
@@ -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
More information about the svn-ports-head
mailing list