aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/Uses
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-01-27 08:02:42 +0800
committerbapt <bapt@FreeBSD.org>2014-01-27 08:02:42 +0800
commit4b3dd86fbeeca6179f5707cbc091fe756c81bf8e (patch)
tree3bf78bbb100f0ed2b19aa2834acb329f2d911127 /Mk/Uses
parent24606ada5c64b0ffe5fdd4464b1ac53faf426143 (diff)
downloadfreebsd-ports-gnome-4b3dd86fbeeca6179f5707cbc091fe756c81bf8e.tar.gz
freebsd-ports-gnome-4b3dd86fbeeca6179f5707cbc091fe756c81bf8e.tar.zst
freebsd-ports-gnome-4b3dd86fbeeca6179f5707cbc091fe756c81bf8e.zip
Only defines the post-stage when needed
Diffstat (limited to 'Mk/Uses')
-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 f0858427fbf9..8236a8daa6ed 100644
--- a/Mk/Uses/perl5.mk
+++ b/Mk/Uses/perl5.mk
@@ -258,9 +258,9 @@ do-install:
.endif # ! USES=gmake
.endif # modbuild
-post-stage::
# TODO: change to ${_USE_PERL5:Mconfigure} when M::B creates .packlist
.if ${USE_PERL5:Mconfigure} || ${USE_PERL5:Mmodbuildtiny}
+post-stage::
-@[ -d ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto ] && ${FIND} ${STAGEDIR}${SITE_PERL}/${PERL_ARCH}/auto -name .packlist -exec ${SED} -i '' 's|^${STAGEDIR}||' '{}' \;
.endif
.endif # defined(_POSTMKINCLUDED)