diff options
Diffstat (limited to 'games-action/bzflag/bzflag-2.4.14.ebuild')
-rw-r--r-- | games-action/bzflag/bzflag-2.4.14.ebuild | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/games-action/bzflag/bzflag-2.4.14.ebuild b/games-action/bzflag/bzflag-2.4.14.ebuild index 290ef54d300a..68787097d150 100644 --- a/games-action/bzflag/bzflag-2.4.14.ebuild +++ b/games-action/bzflag/bzflag-2.4.14.ebuild @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 EAPI=6 -inherit eutils flag-o-matic autotools +inherit autotools desktop flag-o-matic ltprune DESCRIPTION="3D tank combat simulator game" HOMEPAGE="https://www.bzflag.org/" @@ -40,21 +40,21 @@ src_prepare() { } 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() { |