Date: Wed, 15 Aug 2001 20:00:29 -0400 From: Pete Fritchman <petef@databits.net> To: Ken McGlothlen <mcglk@artlogix.com> Cc: ports@freebsd.org Subject: Re: lang/perl5?! Message-ID: <20010815200029.A97902@databits.net> In-Reply-To: <87snes51lo.fsf@ralf.artlogix.com>; from mcglk@artlogix.com on Wed, Aug 15, 2001 at 04:45:39PM -0700 References: <20010815234603.C41670@heechee.tobez.org> <87zo9052nz.fsf_-_@ralf.artlogix.com> <20010815192832.A94345@databits.net> <87snes51lo.fsf@ralf.artlogix.com>
next in thread | previous in thread | raw e-mail | index | archive | help
++ 15/08/01 16:45 -0700 - Ken McGlothlen: | Thanks for pointing that out. As far as I can tell, the relevant section | starts on line 859 of /usr/ports/Mk/bsd.port.mk, and goes something like this: | | .if ${OSVERSION} >= 500007 | PERL_VERSION= 5.6.0 | PERL_VER= 5.6.0 | PERL_ARCH= mach Yes, you'll also want this PERL_ARCH line. [snip] | So what's the best way to "fix" that? So far, it's hardwired into the Makefile | based on the version of FreeBSD you're running (from sysctl -n kern.osreldate). | | This strikes me a bit strange. Why not ask Perl directly with `perl -v`? And | why doesn't the Makefile for lang/perl5 override these automatically for the | build and install? I'm not sure, to be honest. | | It just seems screwy to me. (And also, off the topic: I didn't know that | FreeBSD 5.0 was based on a Mach kernel. Is it?) Perl 5.6.0 just chooses to call the architecture directory 'mach'. | | If this were rewritten so that typing "make" would do this: | | # cd /usr/ports/lang/perl5/ | # make | ====> Perl 5.005_03 is already in the system (/usr/bin/perl)! | To install Perl 5.6.1 into /usr/local/bin (which may cause problems | with locally written scripts), use "make FORCE=1" | # _ | | Then this would be a much simpler matter than hacking Makefiles. I personally | don't care one way or the other---I can navigate these things---but I worry | more about novice sysadmins in this regard who are nonetheless happy Perl | hackers. I don't think installing a new version of Perl is for notice sysadmins :-). See -ports mailing list archives for the schedule on having Perl 5.6.0 MFC'd to stable, I'd look it up for you but my connection is acting funky... | | So back to the main question: what's the best way to "fix" that? Change it to | something like this? | | PERL_VER= 5.6.1 | PERL_VERSION= 5.6.1 | PERL_ARCH= i386-freebsd ^^^^^^^^^^^^ mach | [snip unneeded makefile fu] The only thing you'll need to watch out for is setting this back after a cvsup. Good luck, -pete -- Pete Fritchman <petef@databits.net> Databits Network Services, Inc. <http://databits.net> finger petef@databits.net for PGP key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010815200029.A97902>