From owner-freebsd-ports@FreeBSD.ORG Mon Jan 9 18:59:07 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 1FEF7106564A; Mon, 9 Jan 2012 18:59:07 +0000 (UTC) (envelope-from utisoft@gmail.com) Received: from mail-iy0-f182.google.com (mail-iy0-f182.google.com [209.85.210.182]) by mx1.freebsd.org (Postfix) with ESMTP id C24808FC08; Mon, 9 Jan 2012 18:59:06 +0000 (UTC) Received: by iadj38 with SMTP id j38so9620990iad.13 for ; Mon, 09 Jan 2012 10:59:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=QnByVmEmlUGBeoSnKGS+rNqc+yub1QcXSR4oGsBeEUY=; b=ZHAd5aeydqkJDrNum9UUkEulUWlH25sMCw9f76Cv8nHo+alMZ9ADNkFmXBB8AzRH+D N9uh3l7zUKNi9qNc3q2gIP8riqUXgFP+tffHF3eYHd3eaRb+P0fQTCkdcFauUpSEHk/d Z6AbXTc2kvMPcM2gqoWyYapvzk2Fwe9sQt4AA= Received: by 10.43.58.10 with SMTP id wi10mr18496621icb.57.1326135546348; Mon, 09 Jan 2012 10:59:06 -0800 (PST) MIME-Version: 1.0 Sender: utisoft@gmail.com Received: by 10.231.207.7 with HTTP; Mon, 9 Jan 2012 10:58:35 -0800 (PST) In-Reply-To: <4F0B36BD.8070202@yandex.ru> References: <4F0B36BD.8070202@yandex.ru> From: Chris Rees Date: Mon, 9 Jan 2012 18:58:35 +0000 X-Google-Sender-Auth: VHrfiioFfM_K02JOUjdScN8VR38 Message-ID: To: Ruslan Mahmatkhanov Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Ports Mailing List , perl@freebsd.org, skv@freebsd.org 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 18:59:07 -0000 Adding perl and skv@ On 9 January 2012 18:49, Ruslan Mahmatkhanov 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 > =9A intervention (changing the value of default option) > > Thanks. > > As for me, i believe second option is more preferable, but i don't know i= f > there something behind this. > > PS. I think patch attached (for bsd.perl.mk) should be considered since w= e > 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