Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jun 2016 06:41:27 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r417345 - head/lang/go
Message-ID:  <201606230641.u5N6fRhr009360@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606230641.u5N6fRhr009360>