From owner-freebsd-gecko@FreeBSD.ORG Tue Mar 15 16:53:50 2011 Return-Path: Delivered-To: freebsd-gecko@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 963DA1065675 for ; Tue, 15 Mar 2011 16:53:50 +0000 (UTC) (envelope-from decke@FreeBSD.org) Received: from groupware.itac.at (groupware.itac.at [91.205.172.99]) by mx1.freebsd.org (Postfix) with ESMTP id 300B48FC16 for ; Tue, 15 Mar 2011 16:53:49 +0000 (UTC) Received: from home.bluelife.at (93.104.210.95) by groupware.itac.at (Axigen) with (AES256-SHA encrypted) ESMTPSA id 1784F1; Tue, 15 Mar 2011 15:17:44 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Date: Tue, 15 Mar 2011 15:17:15 +0100 From: Bernhard Froehlich To: Kris Moore In-Reply-To: <4D797C32.9070201@pcbsd.org> References: <4D797A47.5050604@pcbsd.org> <4D797C32.9070201@pcbsd.org> Message-ID: <4511c0811f92618f684430de22cd9b1d@bluelife.at> X-Sender: decke@FreeBSD.org User-Agent: Roundcube Webmail/0.5.1 X-AxigenSpam-Level: 1 X-CTCH-RefID: str=0001.0A0B0205.4D7F74EA.0187,ss=1,fgs=0 X-CTCH-VOD: Unknown X-CTCH-Spam: Unknown Cc: freebsd-gecko@freebsd.org Subject: Re: Problem with mail/thunderbird and PREFIX X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Mar 2011 16:53:50 -0000 On Thu, 10 Mar 2011 20:34:42 -0500, Kris Moore wrote: > - Apologies if I double-posted, hit the stupid touch-pad wrong and it > sent before finished typing - > > Not sure whom I should bug about this, but I'm seeing a problem with > thunderbird when building with a non-standard LOCALBASE. Specifically > the issue occurs here: > > port-pre-install: > ${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \ > ${FAKEDIR}/bin/thunderbird > ${RM} -f ${FAKEDIR}/bin/*.bak > > This command is replacing "/usr/local" with $PREFIX in bin/thunderbird, > but it looks like bin/thunderbird is already setup with PREFIX, so > what ends up happening is that if we set a LOCALBASE like this: > > "/usr/local/pbi/thunderbird", and then > 's|/usr/local|/usr/local/pbi/thunderbird|' we end up with > /usr/local/pbi/thunderbird/pbi/thunderbird/, which is obviously > incorrect :P > > Can somebody replace this in the port soon? I'll file a PR if need > be, but thought this may be faster. A patch is attached which corrects > the issue. Sorry for the long delay. It's committed now. Thanks! -- Bernhard Froehlich http://www.bluelife.at/