diff options
Diffstat (limited to 'games-strategy/wesnoth/wesnoth-1.16.6.ebuild')
-rw-r--r-- | games-strategy/wesnoth/wesnoth-1.16.6.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/games-strategy/wesnoth/wesnoth-1.16.6.ebuild b/games-strategy/wesnoth/wesnoth-1.16.6.ebuild index 1a92e4f2d992..f8edac88d9d7 100644 --- a/games-strategy/wesnoth/wesnoth-1.16.6.ebuild +++ b/games-strategy/wesnoth/wesnoth-1.16.6.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -67,8 +67,10 @@ src_prepare() { src_configure() { filter-flags -ftracer -fomit-frame-pointer + local mycmakeargs=() + if use dedicated || use server ; then - mycmakeargs=( + mycmakeargs+=( -DENABLE_CAMPAIGN_SERVER="ON" -DENABLE_SERVER="ON" -DSERVER_UID="${PN}" @@ -76,7 +78,7 @@ src_configure() { -DFIFO_DIR="/run/wesnothd" ) else - mycmakeargs=( + mycmakeargs+=( -DENABLE_CAMPAIGN_SERVER="OFF" -DENABLE_SERVER="OFF" ) |