summaryrefslogtreecommitdiff
path: root/www/p5-CGI
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2001-02-26 07:23:56 +0000
committerjlam <jlam@pkgsrc.org>2001-02-26 07:23:56 +0000
commitcc35ebc3a53a305d1b22ca09402182dd5867086f (patch)
tree83392d511a29bba33a05b0b14994f266b5a9831f /www/p5-CGI
parent1e93f7ae4ebb5a0fbd9630615e3617613728d0a4 (diff)
downloadpkgsrc-cc35ebc3a53a305d1b22ca09402182dd5867086f.tar.gz
Add definition of PERL5_SITEARCH used earlier in Makefile. This variable is no
longer automatically defined by bsd.pkg.mk, and this package can't USE_PERL5 as it's part of the perl5 meta-package.
Diffstat (limited to 'www/p5-CGI')
-rw-r--r--www/p5-CGI/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/www/p5-CGI/Makefile b/www/p5-CGI/Makefile
index 12ef5fc05b3..a0873d65424 100644
--- a/www/p5-CGI/Makefile
+++ b/www/p5-CGI/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2001/02/17 17:22:20 wiz Exp $
+# $NetBSD: Makefile,v 1.11 2001/02/26 07:23:57 jlam Exp $
#
DISTNAME= CGI.pm-2.75
@@ -41,3 +41,8 @@ post-install:
${INSTALL_SCRIPT} *.cgi ${HTMLDIR}/examples
.include "../../mk/bsd.pkg.mk"
+
+.if !defined(PERL5_SITEARCH)
+PERL5_SITEARCH!= eval `${PERL5} -V:installsitearch 2>/dev/null`; \
+ ${ECHO} $${installsitearch}
+.endif