1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-08 12:01:56 +00:00

Prefer relative symlinks to make the package relocation friendly

This commit is contained in:
Baptiste Daroussin 2016-06-23 06:36:18 +00:00
parent cd5464b270
commit 7361664043
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417344

View File

@ -3,6 +3,7 @@
PORTNAME= fakeroot
PORTVERSION= 1.20.2
PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= DEBIAN
DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
@ -23,7 +24,7 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
post-install:
${MV} ${STAGEDIR}${PREFIX}/lib/libfakeroot-0.so \
${STAGEDIR}${PREFIX}/lib/libfakeroot.so.0
${LN} -sf ${PREFIX}/lib/libfakeroot.so.0 \
${LN} -sf libfakeroot.so.0 \
${STAGEDIR}${PREFIX}/lib/libfakeroot-0.so
.include <bsd.port.mk>