`<div dir="ltr">I am trying to package something on OmniOS following the instructions here:<div><br></div><div><a href="http://omnios.omniti.com/wiki.php/PackagingForOmniOS">http://omnios.omniti.com/wiki.php/PackagingForOmniOS</a>.</div><div><br></div><div>The PREFIX in the config.sh file is set to /usr/local:</div><div><br></div><div><div> # Default prefix for packages (may be overridden)</div><div> PREFIX=/usr/local</div><div><br></div><div>In my build.sh I want to set a different prefix (for this specific package only), so I am doing something like</div><div><br></div><div> export PREFIX=/opt</div><div> export CONFIGURE_OPTS="--prefix=$PREFIX"</div><div><br></div><div>However, this doesn't seem to work, as files are still installed under /usr/local.</div><br clear="all"><div>What is the correct way to override the global PREFIX?</div><div><br></div><div>Thanks,</div><div>Vincenzo.</div><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></div>
`