commit: 01ed23965ec3561744abe64fd0ada6b89696eb53
Author: Pavel Denisov <pavel.a.denisov <AT> gmail <DOT> com>
AuthorDate: Sat Feb 28 03:15:38 2015 +0000
Commit: Kent Fredric <kentfredric <AT> gmail <DOT> com>
CommitDate: Sat Feb 28 03:34:08 2015 +0000
URL:
http://sources.gentoo.org/gitweb/?p=proj/perl-overlay.git;a=commit;h=01ed2396
[scripts/gen_ebuild.pl] add special handling for perl_5 license
---
scripts/gen_ebuild.pl | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/scripts/gen_ebuild.pl b/scripts/gen_ebuild.pl
index a54a665..e5065e6 100755
--- a/scripts/gen_ebuild.pl
+++ b/scripts/gen_ebuild.pl
@@ -197,7 +197,9 @@ if ( scalar @$lics == 1 ) {
$fh->say( 'LICENSE=" ' . $lics->[0] . '"' );
}
elsif ( scalar @$lics > 1 ) {
- $fh->say( 'LICENSE=" || ( ' . ( join q{ }, @$lics ) . ' )"' );
+ if ( not ( $lics->[0] eq 'Artistic' && $lics->[1] eq 'GPL-2' ) ) {
+ $fh->say( 'LICENSE=" || ( ' . ( join q{ }, @$lics ) . ' )"' );
+ }
}
else {
$fh->say('LICENSE=""');