diff options
author | sno <sno@pkgsrc.org> | 2009-06-11 10:35:07 +0000 |
---|---|---|
committer | sno <sno@pkgsrc.org> | 2009-06-11 10:35:07 +0000 |
commit | 1cf2e84d3b6bc981446b16dbf668820d999dd652 (patch) | |
tree | f5f0629a8896b672e074c1272d70403d4ab5655f /lang | |
parent | a5bc1d1e679ccfd10e7e758435518961b71bcf28 (diff) | |
download | pkgsrc-1cf2e84d3b6bc981446b16dbf668820d999dd652.tar.gz |
Adding patch to allow nearly all CPAN modules can use the license of
installed perl
Diffstat (limited to 'lang')
-rw-r--r-- | lang/perl5/Makefile | 6 | ||||
-rw-r--r-- | lang/perl5/license.mk | 12 |
2 files changed, 16 insertions, 2 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile index 4f4970e2cfc..48b52450140 100644 --- a/lang/perl5/Makefile +++ b/lang/perl5/Makefile @@ -1,4 +1,6 @@ -# $NetBSD: Makefile,v 1.152 2009/06/11 10:32:29 sno Exp $ +# $NetBSD: Makefile,v 1.153 2009/06/11 10:35:07 sno Exp $ + +.include "license.mk" DISTNAME= perl-5.10.0 CATEGORIES= lang devel perl5 @@ -9,7 +11,7 @@ DISTFILES+= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= jlam@pkgsrc.org HOMEPAGE= http://www.perl.org/ COMMENT= Practical Extraction and Report Language -LICENSE= gnu-gpl-v2 +LICENSE= ${PERL5_LICENSE} PKG_DESTDIR_SUPPORT= user-destdir diff --git a/lang/perl5/license.mk b/lang/perl5/license.mk new file mode 100644 index 00000000000..00f9b30ee1f --- /dev/null +++ b/lang/perl5/license.mk @@ -0,0 +1,12 @@ +# $NetBSD: license.mk,v 1.1 2009/06/11 10:35:07 sno Exp $ +# +# This Makefile fragment is intended to be included by packages that build +# and install perl5 modules and by the perl5 package. +# +# The following variables may be set prior to including this file: +# +# PERL5_LICENSE If set, it'll not overwritten with gnu-gpl-v2. +# Allowed values: gnu-gpl-v2 and artistic until +# pkgsrc can handle dual licenses correctly. +# +PERL5_LICENSE?= gnu-gpl-v2 # OR artistic |