From owner-freebsd-ports@FreeBSD.ORG Sun Feb 14 20:36:47 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 580701065676 for ; Sun, 14 Feb 2010 20:36:47 +0000 (UTC) (envelope-from jhellenthal@gmail.com) Received: from mail-yx0-f191.google.com (mail-yx0-f191.google.com [209.85.210.191]) by mx1.freebsd.org (Postfix) with ESMTP id 09F278FC1A for ; Sun, 14 Feb 2010 20:36:46 +0000 (UTC) Received: by yxe29 with SMTP id 29so3456961yxe.14 for ; Sun, 14 Feb 2010 12:36:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:date:from:to:cc :subject:in-reply-to:message-id:references:user-agent :x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type:content-transfer-encoding; bh=zOWAiO8rplCTR9E4xlvVs9mbP0g25/ZPuiRpFeHgtGg=; b=TBXEEtd2GmBM/j1apRZJjECVs4+z6gKHgObv76St1hf0SvizjGZRj5MC6fRLmA2g4Z /1QT0Lhlm/mszOOlNUQiydvvUog7Xc3Hkkvwi/FxhnM+9QpYh/UpHnPUCMrOKUAflR/B 9a5vdRX16ZMGZVX43QHnny+Wg0FjBo83zguOM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:date:from:to:cc:subject:in-reply-to:message-id:references :user-agent:x-openpgp-key-id:x-openpgp-key-fingerprint:mime-version :content-type:content-transfer-encoding; b=KwBXT3A3fw2VIYf9gbxHLLC1Ji55vFUAXnfTFctyMzwYTkxXYjVNlXeaZOZ3wframH cMCis1lLASYgrUjGpCMwDOByRkC/fmhIdsLKYx7/TU1VEvwVfcKqZj2FfzV0TWD1stQh JdiNEr0GDp8Yi9t/ys5NsLDpLQd9YLRTQMPH0= Received: by 10.151.17.33 with SMTP id u33mr789664ybi.298.1266179806304; Sun, 14 Feb 2010 12:36:46 -0800 (PST) Received: from centel.dataix.local (ppp-22.95.dialinfree.com [209.172.22.95]) by mx.google.com with ESMTPS id 35sm2059012yxh.33.2010.02.14.12.36.41 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 14 Feb 2010 12:36:44 -0800 (PST) Sender: "J. Hellenthal" Date: Sun, 14 Feb 2010 15:36:37 -0500 From: jhell To: Rob Farmer In-Reply-To: Message-ID: References: User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-OpenPGP-Key-Id: 0x89D8547E X-OpenPGP-Key-Fingerprint: 85EF E26B 07BB 3777 76BE B12A 9057 8789 89D8 547E MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8BIT Cc: bf1783@gmail.com, 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 20:36:47 -0000 On Sat, 13 Feb 2010 21:47, rfarmer@ wrote: > On Sat, Feb 13, 2010 at 12:08 AM, b. f. wrote: >>> In bsd.gcc.mk there is: >>> >>> .   if ${_USE_GCC} != 3.4 >>> CFLAGS+=                -Wl,-rpath=${PREFIX}/lib/${_GCC_BUILD_DEPENDS} >>> LDFLAGS+=               -Wl,-rpath=${PREFIX}/lib/${_GCC_BUILD_DEPENDS} >>> .   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.  The Ports system is not now well-equipped to deal with >> LOCALBASE != 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. > Could this possibly be the cause of the samba3* and cups ports getting profiling enabled on them ? possibly others ? If so I would think this should be important enough to fix before. Inquisitive question. -- jhell