Date: Mon, 09 Jan 2012 22:49:33 +0400 From: Ruslan Mahmatkhanov <cvs-src@yandex.ru> To: FreeBSD Ports Mailing List <ports@freebsd.org> Subject: Perl symlinks question Message-ID: <4F0B36BD.8070202@yandex.ru>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------040109000804070707050607 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi. There is PR: http://bugs.freebsd.org/163687 It tries to fix port building when user built it's perl installation with USE_PERL option (creating symlinks in /usr/bin) set to off (not the default). Patch in PR just replaces static shebang with ${PERL} variable from Mk/bsd.perl.mk. But it doesn't actually fix the build, because consequent call of aclocal-1.11 will fail since it's shebang set to '/usr/bin/perl' too. The question is how to properly handle this PR: 1. Fix devel/automake too (by replacing /usr/bin/perl with ${PERL}) 2. Create symlinks unconditionally in perl port and drop USE_PERL option 3. Close PR as invalid since the build fails because of user intervention (changing the value of default option) Thanks. As for me, i believe second option is more preferable, but i don't know if there something behind this. PS. I think patch attached (for bsd.perl.mk) should be considered since we no more have perl in base. And i'd also exclude perl-5.6.* from CONFLICTS in lang/perl*, because it's something so ancient and doubtful to face with. -- Regards, Ruslan Tinderboxing kills... the drives. --------------040109000804070707050607 Content-Type: text/plain; name="bsd.perl.mk.diff.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="bsd.perl.mk.diff.txt" --- bsd.perl.mk.orig 2011-08-15 10:50:00.000000000 +0400 +++ bsd.perl.mk 2012-01-09 22:43:00.000000000 +0400 @@ -11,10 +11,8 @@ # Please send all suggested changes to the maintainer instead of committing # them to CVS yourself. # -# PERL5 - Set to full path of perl5, either in the system or -# installed from a port. -# PERL - Set to full path of perl5, either in the system or -# installed from a port, but without the version number. +# PERL5 - Set to full path of perl5 +# PERL - Set to full path of perl5, but without the version number. # Use this if you need to replace "#!" lines in scripts. # PERL_VERSION - Full version of perl5 (see below for current value). # PERL_LEVEL - Perl version as an integer of the form MNNNPP, where --------------040109000804070707050607--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F0B36BD.8070202>