From owner-freebsd-ports@FreeBSD.ORG Mon Feb 15 19:22:25 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 154BE106568D for ; Mon, 15 Feb 2010 19:22:25 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from vexpert.dbai.tuwien.ac.at (vexpert.dbai.tuwien.ac.at [128.131.111.2]) by mx1.freebsd.org (Postfix) with ESMTP id C96468FC21 for ; Mon, 15 Feb 2010 19:22:24 +0000 (UTC) Received: from acrux.dbai.tuwien.ac.at (acrux.dbai.tuwien.ac.at [128.131.111.60]) by vexpert.dbai.tuwien.ac.at (Postfix) with ESMTP id 07B061E062; Mon, 15 Feb 2010 20:22:21 +0100 (CET) Received: by acrux.dbai.tuwien.ac.at (Postfix, from userid 1203) id CB06A1604A; Mon, 15 Feb 2010 20:22:24 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by acrux.dbai.tuwien.ac.at (Postfix) with ESMTP id B25E916048; Mon, 15 Feb 2010 20:22:24 +0100 (CET) Date: Mon, 15 Feb 2010 20:22:24 +0100 (CET) From: Gerald Pfeifer To: bf1783@gmail.com In-Reply-To: Message-ID: References: User-Agent: Alpine 1.99 (LSU 1142 2008-08-13) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: Peter Jeremy , 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: Mon, 15 Feb 2010 19:22:25 -0000 On Mon, 15 Feb 2010, b. f. wrote: > Normally, such an rpath directive would automatically be issued, but > our lang/gcc4* ports have this default feature disabled unless > WITHOUT_JAVA is defined, citing an old PR related to gcj and it's > libraries: > > .if ! defined(WITHOUT_JAVA) > ... > # FIXME: we are currently getting weird build failures with libjava on > # some 4.x and 5.x systems, which the following works around. PR 81788. > CONFIGURE_ARGS+=--disable-rpath > ... > > Someone should investigate, to see if this problem still exists. If > it doesn't, then we could restore the default behavior, and remove the > corresponding statements from bsd.gcc.mk. Yes, the problem with Java still exists, I reproduced it on a test system a few weeks ago. It's hard to grasp, and I have failed to nail it down, since outside of the FreeBSD Ports Collection, just building from upstream SVN, everything works just fine. That said, I do not think this is relevant here since GCC does not actually set an rpath as you have it in mind by default (or at all). And least not that I'd know, or I'd use that. ;-) Gerald