Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 07 Nov 2004 12:56:35 -0700
From:      Aaron Dalton <aaron@daltons.ca>
To:        freebsd-ports@FreeBSD.org
Subject:   Perl and Module::Install
Message-ID:  <418E7DF3.6020706@daltons.ca>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?418E7DF3.6020706>