diff options
author | jlam <jlam> | 2001-11-26 06:49:36 +0000 |
---|---|---|
committer | jlam <jlam> | 2001-11-26 06:49:36 +0000 |
commit | ae78e3c0497630c2e2ae971140d131df1f49e3bd (patch) | |
tree | adb2df37f293a2d032459855304d52364a29788d /www/p5-CGI | |
parent | dd8b34ee163899b6ef1c913a0b50c66a0ca0f04d (diff) | |
download | pkgsrc-ae78e3c0497630c2e2ae971140d131df1f49e3bd.tar.gz |
Buildlinkify, in the sense that only the perl headers are found in
${PREFIX} -- everything else is pickup up from ${BUILDLINK_DIR}.
Diffstat (limited to 'www/p5-CGI')
-rw-r--r-- | www/p5-CGI/Makefile | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/www/p5-CGI/Makefile b/www/p5-CGI/Makefile index 4719e4ad508..1ffe7f4ff2b 100644 --- a/www/p5-CGI/Makefile +++ b/www/p5-CGI/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.15 2001/10/18 15:20:47 veego Exp $ +# $NetBSD: Makefile,v 1.16 2001/11/26 06:50:31 jlam Exp $ # DISTNAME= CGI.pm-2.752 @@ -14,8 +14,9 @@ COMMENT= perl5 module for writing forms-based CGI programs # Some perl packages install their own versions of this module. # Can't simply define USE_PERL5. -DEPENDS+= {perl-5.0*,perl-5.6.0nb2,perl-base>=5.6.0,perl>=5.6.1nb2}:../../lang/perl5 +BUILDLINK_DEPENDS.perl= {perl-5.0*,perl-5.6.0nb2,perl-base>=5.6.0,perl>=5.6.1nb2} +USE_BUILDLINK_ONLY= YES PERL5_PACKLIST= ${PERL5_SITEARCH}/auto/CGI/.packlist HTMLDIR= ${PREFIX}/share/doc/html/p5-CGI @@ -40,9 +41,5 @@ post-install: ${INSTALL_DATA} *.gif *.html *.txt *.xbm ${HTMLDIR}/examples; \ ${INSTALL_SCRIPT} *.cgi ${HTMLDIR}/examples +.include "../../lang/perl5/buildlink.mk" .include "../../mk/bsd.pkg.mk" - -.if !defined(PERL5_SITEARCH) -PERL5_SITEARCH!= eval `${PERL5} -V:installsitearch 2>/dev/null`; \ - ${ECHO} $${installsitearch} -.endif |