aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-05-26 04:58:14 +0800
committermat <mat@FreeBSD.org>2014-05-26 04:58:14 +0800
commit74b0fe35cc746db43a9346f22925099e97e0d923 (patch)
tree363cf8e9d081077b3300b693ee721a087d2289ff /Mk
parent33527f591ec3506d5e97879ce10ee6524e0761d0 (diff)
downloadfreebsd-ports-gnome-74b0fe35cc746db43a9346f22925099e97e0d923.tar.gz
freebsd-ports-gnome-74b0fe35cc746db43a9346f22925099e97e0d923.tar.zst
freebsd-ports-gnome-74b0fe35cc746db43a9346f22925099e97e0d923.zip
SITE_PERL is relative to LOCALBASE, switch to PREFIX for the post-stage fixups.
PR: ports/189694 Submitted by: Paul J Murphy Sponsored by: Absolight
Diffstat (limited to 'Mk')
-rw-r--r--Mk/Uses/perl5.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/Uses/perl5.mk b/Mk/Uses/perl5.mk
index 400be53a0aad..c6e0cc1c1f8c 100644
--- a/Mk/Uses/perl5.mk
+++ b/Mk/Uses/perl5.mk
@@ -258,7 +258,7 @@ do-install:
# TODO: change to ${_USE_PERL5:Mconfigure} when M::B creates .packlist
.if ${USE_PERL5:Mconfigure} || ${USE_PERL5:Mmodbuildtiny} || ${USE_PERL5:Mfixpacklist}
fix-packlist::
- -@[ -d ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto ] && ${FIND} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto -name .packlist -exec ${SED} -i '' 's|^${STAGEDIR}||' '{}' \;
+ -@[ -d ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH}/auto ] && ${FIND} ${STAGEDIR}${PREFIX}/${SITE_PERL_REL}/${PERL_ARCH}/auto -name .packlist -exec ${SED} -i '' 's|^${STAGEDIR}||' '{}' \;
.endif
.if !target(regression-test)