Problem with mail/thunderbird and PREFIX

Bernhard Froehlich decke at FreeBSD.org
Tue Mar 15 16:53:50 UTC 2011


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/


More information about the freebsd-gecko mailing list