[OmniOS-discuss] OmniOS Packaging: override installation PREFIX

Lauri Tirkkonen lotheac at iki.fi
Tue Dec 2 11:30:25 UTC 2014


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


More information about the OmniOS-discuss mailing list