Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jun 2016 06:47:40 +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: r417347 - head/devel/arcanist
Message-ID:  <201606230647.u5N6lfCm010348@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Thu Jun 23 06:47:40 2016
New Revision: 417347
URL: https://svnweb.freebsd.org/changeset/ports/417347

Log:
  Prefer relative symlinks to be relocation friendly

Modified:
  head/devel/arcanist/Makefile

Modified: head/devel/arcanist/Makefile
==============================================================================
--- head/devel/arcanist/Makefile	Thu Jun 23 06:45:18 2016	(r417346)
+++ head/devel/arcanist/Makefile	Thu Jun 23 06:47:40 2016	(r417347)
@@ -2,7 +2,7 @@
 
 PORTNAME=	arcanist
 PORTVERSION=	20151220
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 PKGNAMEPREFIX=	php5-
 
@@ -30,6 +30,6 @@ ENCODINGS_USE=	PHP=mbstring
 do-install:
 	@${MKDIR} ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}
 	cd ${WRKSRC} ; ${PAX} -rw * ${STAGEDIR}${PREFIX}/${PHP_DESTDIR}
-	${LN} -sf ${PREFIX}/${PHP_DESTDIR}/scripts/arcanist.php ${STAGEDIR}${PREFIX}/bin/arc
+	${LN} -sf ../${PHP_DESTDIR}/scripts/arcanist.php ${STAGEDIR}${PREFIX}/bin/arc
 
 .include <bsd.port.mk>



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