tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ExtUtils::MakeMaker is in corelist now (Re: creating perl module packages
I was just playing with this problem, and
understand ExtUtils::MakeMaker is now in corelist.
And even when the Warning shown,
Undefined subroutine &main::WriteMakefile called at Makefile.PL line 46.
the result looks OK (to me).
I could not explain why, but attached change won't
show Warning. (perllibdir is usually at /usr/pkg/lib/url2pkg, and it has
ExtUtils::MakeMaker (of perl 5.18) )
---
mef%NetBSD.org@localhost
Makoto Fujiwara,
--- url2pkg.pl.orig 2015-02-09 23:05:45.000000000 +0900
+++ url2pkg.pl 2015-02-09 23:06:38.000000000 +0900
@@ -182,7 +182,7 @@ sub magic_perlmod() {
# To avoid fix_up_makefile error, generate Makefile previously.
# Ignore exit status (no "or die").
system("cd ${abs_wrksrc} && perl Makefile.PL");
- open(DEPS, "cd ${abs_wrksrc} && perl -I${perllibdir} Makefile.PL |") or die;
+ open(DEPS, "cd ${abs_wrksrc} && perl Makefile.PL |") or die;
while (defined(my $dep = <DEPS>)) {
chomp($dep);
if ($dep =~ qr"\.\./\.\./") {
Home |
Main Index |
Thread Index |
Old Index