pkgsrc/devel/p5-Getopt-Long/patches/patch-Makefile.PL
mef c054cff093 To fix the problem PR pkg/50996
(fails with Conflicting PLIST with p5-Perl4-CoreLibs-0.003nb5):
  - Add DEPENDS+= p5-Perl4-CoreLibs
  - Remove newgetopt.pl from Getopt-Long.pm (by patch-Makefile.PL)
    (Fortunately the files are exactly the same as v1.18)
Thanks dholland@ for review :-)
2016-05-06 12:41:59 +00:00

16 lines
545 B
Perl

$NetBSD: patch-Makefile.PL,v 1.1 2016/05/06 12:41:59 mef Exp $
newgetopt.pl does exist in p5-Perl4-CoreLibs. To co-exist
with that,
--- Makefile.PL.orig 2013-07-08 15:14:42.000000000 +0900
+++ Makefile.PL 2016-04-25 22:02:20.000000000 +0900
@@ -89,7 +89,7 @@ WriteMakefile(
),
INSTALLDIRS => ($] < 5.011 ? 'perl' : 'site'),
- PM => { "lib/newgetopt.pl" => '$(INST_LIB)/newgetopt.pl',
+ PM => {
"lib/Getopt/Long.pm" => '$(INST_LIB)/Getopt/Long.pm',
},
dist => { COMPRESS => 'gzip', SUFFIX => 'gz',