From owner-freebsd-ports@FreeBSD.ORG Sun Feb 14 02:47:34 2010 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 65BA41065670 for ; Sun, 14 Feb 2010 02:47:34 +0000 (UTC) (envelope-from rfarmer@predatorlabs.net) Received: from mail-qy0-f191.google.com (mail-qy0-f191.google.com [209.85.221.191]) by mx1.freebsd.org (Postfix) with ESMTP id 16BC68FC15 for ; Sun, 14 Feb 2010 02:47:33 +0000 (UTC) Received: by qyk29 with SMTP id 29so2132019qyk.13 for ; Sat, 13 Feb 2010 18:47:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.224.66.6 with SMTP id l6mr1613746qai.314.1266115653154; Sat, 13 Feb 2010 18:47:33 -0800 (PST) X-Originating-IP: [128.95.133.159] In-Reply-To: References: Date: Sat, 13 Feb 2010 18:47:33 -0800 Message-ID: From: Rob Farmer To: bf1783@gmail.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: gerald@freebsd.org, freebsd-ports@freebsd.org Subject: Re: bsd.gcc.mk PREFIX or LOCALBASE? 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: Sun, 14 Feb 2010 02:47:34 -0000 On Sat, Feb 13, 2010 at 12:08 AM, b. f. wrote: >>In bsd.gcc.mk there is: >> >>. =A0 if ${_USE_GCC} !=3D 3.4 >>CFLAGS+=3D =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0-Wl,-rpath=3D${PREFIX}/lib/${_G= CC_BUILD_DEPENDS} >>LDFLAGS+=3D =A0 =A0 =A0 =A0 =A0 =A0 =A0 -Wl,-rpath=3D${PREFIX}/lib/${_GCC= _BUILD_DEPENDS} >>. =A0 endif >> >>However, I think this should be ${LOCALBASE} instead of ${PREFIX}. > > I agree with you, and I meant to mention this to gerald@ earlier, but > I forgot. =A0The Ports system is not now well-equipped to deal with > LOCALBASE !=3D PREFIX for a lot of software, and most people don't do > this, so the impact is limited, but it does break some test builds and > utilities, as you have seen. Yeah, I realize this is kind of an unusual situation and I understand that with the ports freeze coming up that now is not a good time to be making these kind of changes, but just thought I would mention it since I came across it. --=20 Rob Farmer > > b. >