From owner-freebsd-ports@FreeBSD.ORG Sun Nov 7 19:56:09 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7ADC616A4CE for ; Sun, 7 Nov 2004 19:56:09 +0000 (GMT) Received: from priv-edtnes56.telusplanet.net (outbound01.telus.net [199.185.220.220]) by mx1.FreeBSD.org (Postfix) with ESMTP id EA83843D31 for ; Sun, 7 Nov 2004 19:56:08 +0000 (GMT) (envelope-from aaron@daltons.ca) Received: from [198.53.185.199] by priv-edtnes56.telusplanet.netESMTP <20041107195608.KCUH2731.priv-edtnes56.telusplanet.net@[198.53.185.199]> for ; Sun, 7 Nov 2004 12:56:08 -0700 Message-ID: <418E7DF3.6020706@daltons.ca> Date: Sun, 07 Nov 2004 12:56:35 -0700 From: Aaron Dalton User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-ports@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Perl and Module::Install X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Nov 2004 19:56:09 -0000 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