no default abuse
This commit is contained in:
parent
0884562cd9
commit
f7b29e1c47
1 changed files with 9 additions and 13 deletions
|
@ -31,19 +31,15 @@ DEPENDENCIES="
|
||||||
WORK="${WORKBASE}/${PN}"
|
WORK="${WORKBASE}/${PN}"
|
||||||
|
|
||||||
src_configure() {
|
src_configure() {
|
||||||
local guitype
|
econf \
|
||||||
option gtk && guitype=gtk || guitype=Xt
|
--disable-ogre-demos \
|
||||||
|
--disable-cg \
|
||||||
DEFAULT_SRC_CONFIGURE_OPTION_WITHS+=( boost )
|
--disable-cegui \
|
||||||
DEFAULT_SRC_CONFIGURE_OPTION_ENABLES+=( freeimage 'il devil' openexr )
|
--with-gui=$(option gtk && echo gtk || echo Xt) \
|
||||||
DEFAULT_SRC_CONFIGURE_PARAMS+=(
|
$(option_enable boost) \
|
||||||
--disable-ogre-demos
|
$(option_enable freeimage) \
|
||||||
--disable-cg
|
$(option_enable il devil) \
|
||||||
--disable-cegui
|
$(option_enable openexr)
|
||||||
--with-gui="${guitype}"
|
|
||||||
)
|
|
||||||
|
|
||||||
default
|
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
|
|
Loading…
Reference in a new issue