pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/perl5 Remove the empty $sitearch directory even i...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4a00a5416dbc
branches:  trunk
changeset: 498271:4a00a5416dbc
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Thu Aug 18 17:26:48 2005 +0000

description:
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:

 lang/perl5/Makefile |  8 ++------
 1 files changed, 2 insertions(+), 6 deletions(-)

diffs (22 lines):

diff -r 28bd78ea4ba5 -r 4a00a5416dbc lang/perl5/Makefile
--- a/lang/perl5/Makefile       Thu Aug 18 15:46:23 2005 +0000
+++ b/lang/perl5/Makefile       Thu Aug 18 17:26:48 2005 +0000
@@ -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 @@
        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`;                         \



Home | Main Index | Thread Index | Old Index