pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/perl5 Adding patch to allow nearly all CPAN modul...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/784d5b5ffef3
branches:  trunk
changeset: 394514:784d5b5ffef3
user:      sno <sno%pkgsrc.org@localhost>
date:      Thu Jun 11 10:35:07 2009 +0000

description:
Adding patch to allow nearly all CPAN modules can use the license of
installed perl

diffstat:

 lang/perl5/Makefile   |   6 ++++--
 lang/perl5/license.mk |  12 ++++++++++++
 2 files changed, 16 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r 712a39a89ac0 -r 784d5b5ffef3 lang/perl5/Makefile
--- a/lang/perl5/Makefile       Thu Jun 11 10:32:29 2009 +0000
+++ b/lang/perl5/Makefile       Thu Jun 11 10:35:07 2009 +0000
@@ -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 @@
 MAINTAINER=    jlam%pkgsrc.org@localhost
 HOMEPAGE=      http://www.perl.org/
 COMMENT=       Practical Extraction and Report Language
-LICENSE=       gnu-gpl-v2
+LICENSE=       ${PERL5_LICENSE}
 
 PKG_DESTDIR_SUPPORT=   user-destdir
 
diff -r 712a39a89ac0 -r 784d5b5ffef3 lang/perl5/license.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/perl5/license.mk     Thu Jun 11 10:35:07 2009 +0000
@@ -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



Home | Main Index | Thread Index | Old Index