summaryrefslogtreecommitdiff
path: root/www/p5-CGI/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/p5-CGI/Makefile')
-rw-r--r--www/p5-CGI/Makefile12
1 files changed, 9 insertions, 3 deletions
diff --git a/www/p5-CGI/Makefile b/www/p5-CGI/Makefile
index a6b721f3a01..4436e03bd2e 100644
--- a/www/p5-CGI/Makefile
+++ b/www/p5-CGI/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2000/05/11 20:04:03 christos Exp $
+# $NetBSD: Makefile,v 1.2 2000/08/27 07:11:24 jlam Exp $
#
DISTNAME= CGI.pm-2.66
@@ -8,12 +8,18 @@ MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=CGI/}
MAINTAINER= christos@netbsd.org
-USE_PERL5= YES
+USE_PERL5= # defined
+PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/CGI/.packlist
+
+# Our perl packages install their own versions of this perl5 module.
+# We need to remove this from our perl installations first.
+#
+CONFLICTS= perl-5.*
pre-configure:
${CP} ${FILESDIR}/Makefile.PL ${WRKSRC}/Makefile.PL
do-configure:
- @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PREFIX}/bin/perl Makefile.PL
+ @cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${PERL5} Makefile.PL
.include "../../mk/bsd.pkg.mk"