From owner-freebsd-ports@FreeBSD.ORG Mon Jan 9 18:50:22 2012 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E4C101065676 for ; Mon, 9 Jan 2012 18:50:21 +0000 (UTC) (envelope-from cvs-src@yandex.ru) Received: from forward7.mail.yandex.net (forward7.mail.yandex.net [IPv6:2a02:6b8:0:202::2]) by mx1.freebsd.org (Postfix) with ESMTP id CAEB58FC18 for ; Mon, 9 Jan 2012 18:50:20 +0000 (UTC) Received: from smtp6.mail.yandex.net (smtp6.mail.yandex.net [77.88.61.56]) by forward7.mail.yandex.net (Yandex) with ESMTP id 09B4A1C027C for ; Mon, 9 Jan 2012 22:50:12 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1326135012; bh=VTr/kU+KfzhkwL9B4MGI/Tyucu747drtI5cA6k2uFrQ=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type; b=Gm+4Zs40utdEdLj0NkuGW7wKW06r6VorwhskrhfkADx/rwgyVXGYxwqUCRLS5nHi2 Hw5wDF/NP+kZe4W0YGgjxHf27FV4pBfCFgpV/5mfAPv1nm7/GeA/ERpmzXDK7o95MI 1fess66g2J0FDH9OYSZ0SgLbDxOEBWBYqFkXS+vA= Received: from smtp6.mail.yandex.net (localhost [127.0.0.1]) by smtp6.mail.yandex.net (Yandex) with ESMTP id B5C0D16403B7 for ; Mon, 9 Jan 2012 22:50:11 +0400 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1326135011; bh=VTr/kU+KfzhkwL9B4MGI/Tyucu747drtI5cA6k2uFrQ=; h=Message-ID:Date:From:MIME-Version:To:Subject:Content-Type; b=FnTBbO72XvCGPePZ51nmdyMmdvhkTOzEv0LdOxMjMEtsaAcGhMD8DrH/1a2si98W0 hvPnRZtPtWqk4kixtblkoPbh4p2Xh6i7ESaWaT5w0HyenaW+bG7X+9Gd5F6uZQS3jd Lve97zpUO/UpVcTXvK1VNOyiWQXXsdgD8HDhxBfw= Received: from unknown (unknown [178.76.224.133]) by smtp6.mail.yandex.net (nwsmtp/Yandex) with ESMTP id oA60axW1-oB6OZ8sS; Mon, 9 Jan 2012 22:50:11 +0400 X-Yandex-Spam: 1 Message-ID: <4F0B36BD.8070202@yandex.ru> Date: Mon, 09 Jan 2012 22:49:33 +0400 From: Ruslan Mahmatkhanov User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:9.0) Gecko/20111229 Thunderbird/9.0 MIME-Version: 1.0 To: FreeBSD Ports Mailing List Content-Type: multipart/mixed; boundary="------------040109000804070707050607" Cc: Subject: Perl symlinks question X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Jan 2012 18:50:22 -0000 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--