diff options
author | jlam <jlam> | 2001-02-26 07:23:56 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-02-26 07:23:56 +0000 |
commit | a845805fdbc97c8b5fac751642fe107e0e525982 (patch) | |
tree | 83392d511a29bba33a05b0b14994f266b5a9831f /www | |
parent | 65c83f3a8eb9881b1ca4ab0e74693f7bb4d49b84 (diff) | |
download | pkgsrc-a845805fdbc97c8b5fac751642fe107e0e525982.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')
-rw-r--r-- | www/p5-CGI/Makefile | 7 |
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 |