From f2899259897300b1ccb328cc2231bca7f16275c2 Mon Sep 17 00:00:00 2001
From: jlam <jlam@pkgsrc.org>
Date: Thu, 18 Aug 2005 17:26:48 +0000
Subject: 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.

---
 lang/perl5/Makefile | 8 ++------
 1 file 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`;				\
-- 
cgit v1.2.3