Date: Wed, 10 Nov 2004 16:35:35 +0000 From: Tom Hukins <tom@FreeBSD.org> To: Aaron Dalton <aaron@daltons.ca> Cc: freebsd-ports@FreeBSD.org Subject: Re: Perl and Module::Install Message-ID: <20041110163535.GA49526@eborcom.com> In-Reply-To: <4190FD53.4030806@daltons.ca> References: <418E7DF3.6020706@daltons.ca> <20041109154830.GA21363@eborcom.com> <4190FD53.4030806@daltons.ca>
next in thread | previous in thread | raw e-mail | index | archive | help
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. > .include <bsd.port.pre.mk> > > .include <bsd.port.post.mk> You don't need to do this. Instead: .include <bsd.port.mk> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041110163535.GA49526>