From owner-freebsd-gecko@FreeBSD.ORG Fri Mar 11 01:40:19 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 5F7941065675 for ; Fri, 11 Mar 2011 01:40:19 +0000 (UTC) (envelope-from kris@pcbsd.org) Received: from mail.iXsystems.com (newknight.ixsystems.com [206.40.55.70]) by mx1.freebsd.org (Postfix) with ESMTP id 394B68FC0C for ; Fri, 11 Mar 2011 01:40:19 +0000 (UTC) Received: from mail.ixsystems.com (localhost [127.0.0.1]) by mail.iXsystems.com (Postfix) with ESMTP id A8841A66409 for ; Thu, 10 Mar 2011 17:34:43 -0800 (PST) Received: from mail.iXsystems.com ([127.0.0.1]) by mail.ixsystems.com (mail.ixsystems.com [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 26693-01 for ; Thu, 10 Mar 2011 17:34:43 -0800 (PST) Received: from [192.168.0.195] (75-130-56-30.static.kgpt.tn.charter.com [75.130.56.30]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mail.iXsystems.com (Postfix) with ESMTPSA id 542D8A66407 for ; Thu, 10 Mar 2011 17:34:43 -0800 (PST) Message-ID: <4D797C32.9070201@pcbsd.org> Date: Thu, 10 Mar 2011 20:34:42 -0500 From: Kris Moore User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.15) Gecko/20110310 Thunderbird/3.1.9 MIME-Version: 1.0 To: freebsd-gecko@freebsd.org References: <4D797A47.5050604@pcbsd.org> In-Reply-To: <4D797A47.5050604@pcbsd.org> Content-Type: multipart/mixed; boundary="------------040009070809040905020107" Subject: 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: Fri, 11 Mar 2011 01:40:19 -0000 This is a multi-part message in MIME format. --------------040009070809040905020107 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit - 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. -- Kris Moore PC-BSD Software iXsystems --------------040009070809040905020107 Content-Type: text/plain; name="tb-patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="tb-patch" --- Makefile.o 2011-03-10 20:31:30.459685569 -0500 +++ Makefile 2011-03-10 20:31:39.419007714 -0500 @@ -112,9 +112,6 @@ (cd ${MOZSRC}/js/src/ && ${AUTOCONF}) port-pre-install: - ${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \ - ${FAKEDIR}/bin/thunderbird - ${RM} -f ${FAKEDIR}/bin/*.bak ${MKDIR} ${FAKEDIR}/lib/${PORTNAME}/defaults pre-install: --------------040009070809040905020107--