From owner-freebsd-ports@FreeBSD.ORG Mon Jan 9 19:50:59 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 CBAB6106566B for ; Mon, 9 Jan 2012 19:50:59 +0000 (UTC) (envelope-from jlaffaye.freebsd@gmail.com) Received: from mail-wi0-f182.google.com (mail-wi0-f182.google.com [209.85.212.182]) by mx1.freebsd.org (Postfix) with ESMTP id 59CE98FC12 for ; Mon, 9 Jan 2012 19:50:58 +0000 (UTC) Received: by wibhr1 with SMTP id hr1so4459715wib.13 for ; Mon, 09 Jan 2012 11:50:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=AxsqGJpY5VF7FIJueeU0BAuFg12uP5nppRGei/QkTdU=; b=oFkZql/g72snsc0Y10EJ/wyHbmARr+ZcLF75IDsHCpQ7moWfYAnFRTlpEdiAa5xUWP 9Www2Y4VNefuVF662icl4g+GKIR71npTTUOvx2oqtK5wu5bJULTAjwQOqfD3GD8Lsaph nQzXcgbDtBl/jlFg7mMMCAwqrxdUV/MVSARD0= Received: by 10.180.109.77 with SMTP id hq13mr7065151wib.7.1326138658238; Mon, 09 Jan 2012 11:50:58 -0800 (PST) Received: from [192.168.1.65] (lantea.jlaffaye.net. [109.190.125.169]) by mx.google.com with ESMTPS id fq7sm80476557wbb.1.2012.01.09.11.50.56 (version=SSLv3 cipher=OTHER); Mon, 09 Jan 2012 11:50:57 -0800 (PST) Sender: Julien Laffaye Message-ID: <4F0B4527.1030905@freebsd.org> Date: Mon, 09 Jan 2012 20:51:03 +0100 From: Julien Laffaye User-Agent: Thunderbird/7.0.1 MIME-Version: 1.0 To: freebsd-ports@freebsd.org References: <4F0B36BD.8070202@yandex.ru> <4F0B41B2.9020506@yandex.ru> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 19:50:59 -0000 On 1/9/2012 8:42 PM, Eitan Adler wrote: > On Mon, Jan 9, 2012 at 2:36 PM, Ruslan Mahmatkhanov wrote: >> Eitan Adler wrote on 09.01.2012 23:32: >> >>> 2012/1/9 Chris Rees: >>>> 1. Fix devel/automake too (by replacing /usr/bin/perl with ${PERL}) >>>>> 2. Create symlinks unconditionally in perl port and drop USE_PERL option >>> >>> /usr/bin is in LOCALBASE which may be read only. >> >> Ok, but if so most part of ports tree will not build on such systems, >> because automake tools (aclocal in particular) calling /usr/bin/perl. > The option should remain on by default due to the majority use case, > but elimination the option is a bad idea. Users should not have to > hack ports to use a readonly LOCALBASE. > > Last time I installed perl with /usr/bin readonly (ezjail) it failed silently to create the symlink so there is really no reason to switch this option off. That's why, I would also go for option 2/ If you have a readonly /usr/bin, it is the job of your administrator (that'd be you!) to create the symlink.