From owner-freebsd-ports@FreeBSD.ORG Mon Jan 9 23:46:57 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD0E81065673 for ; Mon, 9 Jan 2012 23:46:57 +0000 (UTC) (envelope-from freebsd@heesakkers.info) Received: from server4.ohos.nl (server4.ohos.nl [IPv6:2a00:d880:0:6::c951:214d]) by mx1.freebsd.org (Postfix) with ESMTP id 6C7448FC0A for ; Mon, 9 Jan 2012 23:46:57 +0000 (UTC) Received: from [2001:470:1f15:1555::2] (helo=pcoliver.heesakkers.info) by server4.ohos.nl with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.77) (envelope-from ) id 1RkOvV-0009la-MZ for freebsd-ports@freebsd.org; Tue, 10 Jan 2012 00:46:56 +0100 From: Oliver Heesakkers To: freebsd-ports@freebsd.org Date: Tue, 10 Jan 2012 00:46:51 +0100 Message-ID: <2563036.pr1DpUBa3i@pcoliver.heesakkers.info> User-Agent: KMail/4.7.3 (FreeBSD/9.0-RC3; KDE/4.7.3; amd64; ; ) In-Reply-To: <4F0B36BD.8070202@yandex.ru> References: <4F0B36BD.8070202@yandex.ru> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: 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 23:46:57 -0000 Op ma 09 jan 2012 22:49:33 schreef Ruslan Mahmatkhanov: > 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) 4. Teach upstream (and maybe maintainers) to use /usr/bin/env as they should do: http://perldoc.perl.org/perlintro.html#Running-Perl-programs (this goes for multimedia/ffmpeg or rather texipod.pl included in that build, too)