[OmniOS-discuss] OmniOS Packaging: override installation PREFIX

Vincenzo Pii piiv at zhaw.ch
Tue Dec 2 12:39:38 UTC 2014


Many thanks Lauri, that worked (no need for the CONFIGURE_OPTS)!

2014-12-02 12:30 GMT+01:00 Lauri Tirkkonen <lotheac at iki.fi>:

> On Tue, Dec 02 2014 12:05:10 +0100, Vincenzo Pii wrote:
> > In my build.sh I want to set a different prefix (for this specific
> package
> > only), so I am doing something like
> >
> >     export PREFIX=/opt
> >     export CONFIGURE_OPTS="--prefix=$PREFIX"
> >
> > However, this doesn't seem to work, as files are still installed under
> > /usr/local.
> >
> > What is the correct way to override the global PREFIX?
>
> Try this:
>
>     PREFIX=/opt
>     reset_configure_opts
>
> --
> Lauri Tirkkonen | +358 50 5341376 | lotheac @ IRCnet
>



-- 
Vincenzo Pii
Researcher, InIT Cloud Computing Lab
Zurich University of Applied Sciences (ZHAW)
blog.zhaw.ch/icclab
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20141202/c44dd346/attachment.html>


More information about the OmniOS-discuss mailing list