Also added ${EPREFIX} to --libdir for prefix support
Package-Manager: Portage-2.3.44, Repoman-2.3.10
}
src_configure() {
- local myconf
+ local myconf=(
+ $(use_enable upnp UPnP)
+ )
if use dedicated ; then
ewarn
ewarn "You are building a server-only copy of BZFlag"
ewarn
- myconf="--disable-client --without-SDL"
+ myconf+=( --disable-client --without-SDL )
fi
- econf \
- $(use_enable upnp UPnP) \
- ${myconf}
+ econf "${myconf[@]}"
}
src_install() {
}
src_configure() {
- local myconf
+ local myconf=(
+ $(use_enable upnp UPnP)
+ --libdir="${EPREFIX}"/usr/$(get_libdir)/${PN}
+ )
if use dedicated ; then
ewarn
ewarn "You are building a server-only copy of BZFlag"
ewarn
- myconf="--disable-client --without-SDL"
+ myconf+=( --disable-client --without-SDL )
else
- myconf="--with-SDL=2"
+ myconf=( --with-SDL=2 )
fi
- econf \
- $(use_enable upnp UPnP) \
- --libdir=/usr/$(get_libdir)/${PN} \
- ${myconf}
+ econf "${myconf[@]}"
}
src_install() {