From owner-freebsd-ports@FreeBSD.ORG Thu Nov 11 01:02:24 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 0B48416A4CE; Thu, 11 Nov 2004 01:02:24 +0000 (GMT) Received: from priv-edtnes84.telusplanet.net (defout.telus.net [199.185.220.240]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EC5743D2D; Thu, 11 Nov 2004 01:02:23 +0000 (GMT) (envelope-from aaron@daltons.ca) Received: from [198.53.185.199] by priv-edtnes84.telusplanet.netESMTP <20041111010223.DVID19548.priv-edtnes84.telusplanet.net@[198.53.185.199]>; Wed, 10 Nov 2004 18:02:23 -0700 Message-ID: <4192BA1D.6070306@daltons.ca> Date: Wed, 10 Nov 2004 18:02:21 -0700 From: Aaron Dalton User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tom Hukins References: <418E7DF3.6020706@daltons.ca> <20041109154830.GA21363@eborcom.com> <4190FD53.4030806@daltons.ca> <20041110163535.GA49526@eborcom.com> In-Reply-To: <20041110163535.GA49526@eborcom.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-ports@FreeBSD.org Subject: Re: 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: Thu, 11 Nov 2004 01:02:24 -0000 Tom Hukins wrote: > On Tue, Nov 09, 2004 at 10:24:35AM -0700, Aaron Dalton wrote: > >>The Makefile I have is as follows. I double checked and I indeed have >>tabs and not just spaces between everything. Thanks for the help! > > > Thanks. Your Makefile mostly looks fine. I've investigated your > problem - it's due to a combination of bsd.port.mk doing something > unusual which Email::Obfuscate's Makefile.PL isn't intelligent enough > to deal with. > > > As for the problem, line 14 of Email::Obfuscate's Makefile.PL calls: > &Makefile->write if lc($0) eq 'makefile.pl'; > > In line 3112 of bsd.port.mk we see: > .if defined(PERL_CONFIGURE) > @cd ${CONFIGURE_WRKSRC} && \ > ${SETENV} ${CONFIGURE_ENV} \ > ${PERL5} ./${CONFIGURE_SCRIPT} ${CONFIGURE_ARGS} > > So Makefile.PL (${CONFIGURE_SCRIPT}) is called with a trailing './', > causing lc($0) to match './makefile.pl' as opposed to 'makefile.pl'. > > You will need to patch Email::Obfuscate to understand how it gets > called more intelligently, and arguably bsd.port.mk should call > Makefile.PL in its more typical 'Makefile.PL' guise instead of > './Makefile.PL'. > > Tom Thank you so much for your help, Tom. I really appreciate it. I've made the change and now I need to learn how to actually do the whole patching thing in the Makefile =) Fun! Cheers! Aaron