Perl and Module::Install
Aaron Dalton
aaron at daltons.ca
Sun Nov 7 19:56:09 GMT 2004
I hit the archives but surprisingly couldn't find anything. Please
excuse me if this has been asked before.
I am pretty new to Perl module porting and for the first time have come
across a module that uses Module::Install in Makefile.PL. Now if I
manually do the standard:
$ perl Makefile.PL
$ make
$ make install
it builds and installs fine. Obviously the port tree make does
something different. I use the same Makefile as for other ports but
when I go to build I get the following error:
$ make
===> Configuring for p5-Email-Obfuscate-1.13
cd Can't open Makefile: No such file or directory.
===> Building for p5-Email-Obfuscate-1.13
make: cannot open Makefile.
w*** Error code 2
The Makefile.PL looks like:
use inc::Module::Install;
name('Email-Obfuscate');
--snip--
&Meta->write;
&Build->write if lc($0) eq 'build.pl';
&Makefile->write if lc($0) eq 'makefile.pl';
What alterations must I make to the Makefile or what patching must I do
to the Makefile.PL to make this work under the ports system?
Thank you so much for your time and assistance.
Aaron Dalton
More information about the freebsd-ports
mailing list