diff options
author | bapt <bapt@FreeBSD.org> | 2014-01-27 08:02:42 +0800 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-01-27 08:02:42 +0800 |
commit | 4b3dd86fbeeca6179f5707cbc091fe756c81bf8e (patch) | |
tree | 3bf78bbb100f0ed2b19aa2834acb329f2d911127 /Mk/Uses | |
parent | 24606ada5c64b0ffe5fdd4464b1ac53faf426143 (diff) | |
download | freebsd-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.mk | 2 |
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) |