Date: Wed, 10 Nov 2004 18:02:21 -0700 From: Aaron Dalton <aaron@daltons.ca> To: Tom Hukins <tom@FreeBSD.org> Cc: freebsd-ports@FreeBSD.org Subject: Re: Perl and Module::Install Message-ID: <4192BA1D.6070306@daltons.ca> In-Reply-To: <20041110163535.GA49526@eborcom.com> References: <418E7DF3.6020706@daltons.ca> <20041109154830.GA21363@eborcom.com> <4190FD53.4030806@daltons.ca> <20041110163535.GA49526@eborcom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4192BA1D.6070306>