From owner-freebsd-ports@FreeBSD.ORG Mon Oct 21 16:54:38 2013 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id B1E01AE9 for ; Mon, 21 Oct 2013 16:54:38 +0000 (UTC) (envelope-from fjwcash@gmail.com) Received: from mail-oa0-x22d.google.com (mail-oa0-x22d.google.com [IPv6:2607:f8b0:4003:c02::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7D9842568 for ; Mon, 21 Oct 2013 16:54:38 +0000 (UTC) Received: by mail-oa0-f45.google.com with SMTP id i4so5332116oah.32 for ; Mon, 21 Oct 2013 09:54:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=xZjhaUP/u66Be1ySDN+8j7aQbg+U2G9hlcLqagtT4e8=; b=RN04psDBiU6Dcpak/RQheP4l8e/QNh/7rLFUZGfL9+/eycOze01/IpIPhQidQEeAe8 +Zrr/xz7J4aORhFYrGmZVM7JrlSFPBETisRXRFCcnHDKcC49J9CZQN7gwYDQizLnW/Uz uztp8dKVeGY/TllZqOGC9bb3XRppU3zMW9Y/0U51hcrQj2rHu9pOfCKYKX1e0RlOOsJv 7jVIDZ3rwRVIlcZgDtVGPqVXcPGR7oHZRwBubvDi536RbdSlgThqS3hKDDeKq+d0YPyB F8oZR5WMj2KJY9XT6DgDQWJQycvNG4jd3bLV/qotRtEra6eTtQrpzC7mvMA3ksf9Ba/z dy4A== MIME-Version: 1.0 X-Received: by 10.182.135.194 with SMTP id pu2mr1329388obb.38.1382374477531; Mon, 21 Oct 2013 09:54:37 -0700 (PDT) Received: by 10.76.132.9 with HTTP; Mon, 21 Oct 2013 09:54:37 -0700 (PDT) In-Reply-To: <52655AA1.6090304@rawbw.com> References: <52655AA1.6090304@rawbw.com> Date: Mon, 21 Oct 2013 09:54:37 -0700 Message-ID: Subject: Re: Should /usr/bin/perl be a link to /usr/local/bin/perl ? From: Freddie Cash To: Yuri Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: "ports@freebsd.org" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 21 Oct 2013 16:54:38 -0000 On Mon, Oct 21, 2013 at 9:47 AM, Yuri wrote: > I found that many ports specify /usr/bin/perl as an interpreter. This > comes from Linux. Examples: valgrind-snapshot, windowmaker, enscript-a4, > a2ps, svgalib > /usr/bin/perl isn't installed by perl port. > > There are several solutions, in the order of increasing complexity of > solution: > 1. Install the link /usr/bin/perl (hackish, but it will fix many broken > ports in one shot) > =E2=80=8BThat's already there. A least on all my FreeBSD machines (9.0, 9.= 1, 9-STABLE, 10-CURRENT). I believe that's the default for the perl ports and you have to manually uncheck that option when building the port to break things.=E2=80=8B > 2. Make a package scripts check for interpreter and break the install of > offending packages > 3. Fix all offending packages > > Which solution should be preferred in your opinion? > > Yuri > ______________________________**_________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/**mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@**freebsd.org= > " > --=20 Freddie Cash fjwcash@gmail.com