Perl symlinks question

Chris Rees crees at freebsd.org
Mon Jan 9 18:59:07 UTC 2012


Adding perl and skv@

On 9 January 2012 18:49, Ruslan Mahmatkhanov <cvs-src at yandex.ru> wrote:
> 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.
>

I don't see any point in the symlink being optional either -- I vote for 2.

Chris


More information about the freebsd-ports mailing list