summaryrefslogtreecommitdiff
path: root/www/p5-CGI/Makefile
diff options
context:
space:
mode:
authorjlam <jlam>2000-08-27 07:10:59 +0000
committerjlam <jlam>2000-08-27 07:10:59 +0000
commit6b651933b95c6a21e0e7629f5183e1492bb71903 (patch)
treefd4f0178e134e50e9dc8acc6e016d62c645457cf /www/p5-CGI/Makefile
parentc861cb3db8ffcd7b9fa94be5348a80b681bcff64 (diff)
downloadpkgsrc-6b651933b95c6a21e0e7629f5183e1492bb71903.tar.gz
Convert packages to use PERL5_PACKLIST (part 1). These were the easy
ones to do, and each compiled and installed/de-installed apparently correctly. As a side effect of the dynamic PLIST, we no longer need to have separate -static and -shared PLISTs. It's now easier than ever to make a perl5 package for NetBSD :)
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"