diff options
author | jlam <jlam@pkgsrc.org> | 2005-08-18 17:26:48 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2005-08-18 17:26:48 +0000 |
commit | f2899259897300b1ccb328cc2231bca7f16275c2 (patch) | |
tree | 43d8776719cd3557658d79ddc386d7f839e15e4f /lang/perl5 | |
parent | a96ba0122f0d48dad33d5488cf309804c6599a1a (diff) | |
download | pkgsrc-f2899259897300b1ccb328cc2231bca7f16275c2.tar.gz |
Remove the empty $sitearch directory even if it's outside of ${PREFIX} --
the perl installation will always create it and it's surprising when
it suddenly appears on your filesystem.
Diffstat (limited to 'lang/perl5')
-rw-r--r-- | lang/perl5/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile index 937a25e2de8..28c8bda7027 100644 --- a/lang/perl5/Makefile +++ b/lang/perl5/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.100 2005/08/12 19:59:03 jlam Exp $ +# $NetBSD: Makefile,v 1.101 2005/08/18 17:26:48 jlam Exp $ # The following two variables should have empty values unless we're # building a perl snapshot or release candidate. @@ -326,11 +326,7 @@ post-install: eval `${PERL5} -V:installarchlib 2>/dev/null`; \ eval `${PERL5} -V:installsitearch 2>/dev/null`; \ eval `${PERL5} -V:installvendorarch 2>/dev/null`; \ - case $$installsitearch in \ - ${PREFIX}/*) \ - ${RMDIR} -p $$installsitearch 2>/dev/null || ${TRUE}; \ - ;; \ - esac; \ + ${RMDIR} -p $$installsitearch 2>/dev/null || ${TRUE}; \ ${RMDIR} -p $$installvendorarch 2>/dev/null || ${TRUE}; \ eval `${PERL5} -V:scriptdir 2>/dev/null`; \ eval `${PERL5} -V:man1dir 2>/dev/null`; \ |