`<div dir="ltr">Many thanks Lauri, that worked (no need for the <span style="font-family:arial,sans-serif;font-size:13px">CONFIGURE_OPTS)!</span></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-02 12:30 GMT+01:00 Lauri Tirkkonen <span dir="ltr"><<a href="mailto:lotheac@iki.fi" target="_blank">lotheac@iki.fi</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tue, Dec <a href="tel:02%202014%2012" value="+3902201412">02 2014 12</a>:05:10 +0100, Vincenzo Pii wrote:<br>
> In my build.sh I want to set a different prefix (for this specific package<br>
> only), so I am doing something like<br>
><br>
> export PREFIX=/opt<br>
> export CONFIGURE_OPTS="--prefix=$PREFIX"<br>
><br>
> However, this doesn't seem to work, as files are still installed under<br>
> /usr/local.<br>
><br>
> What is the correct way to override the global PREFIX?<br>
<br>
</span>Try this:<br>
<br>
PREFIX=/opt<br>
reset_configure_opts<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Lauri Tirkkonen | <a href="tel:%2B358%2050%205341376" value="+358505341376">+358 50 5341376</a> | lotheac @ IRCnet<br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div>Vincenzo Pii<br></div>Researcher, InIT Cloud Computing Lab<br>Zurich University of Applied Sciences (ZHAW)<br><a href="http://blog.zhaw.ch/icclab" style="color:rgb(17,85,204)" target="_blank">blog.zhaw.ch/icclab</a><br></div></div>
</div>
`