commit: 3d2ababc25d2128212c0438f29490cb1403ad621
Author: Vadim A. Misbakh-Soloviov <git <AT> mva <DOT> name>
AuthorDate: Thu Sep 7 15:31:14 2017 +0000
Commit: Vadim A. Misbakh-Soloviov <mva <AT> mva <DOT> name>
CommitDate: Thu Sep 7 15:31:14 2017 +0000
URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=3d2ababc
rtcw: fixed calling ext command in global scope (fixes bgo#630174)
games-fps/rtcw/rtcw-9999.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/games-fps/rtcw/rtcw-9999.ebuild b/games-fps/rtcw/rtcw-9999.ebuild
index 961a07a..8d0b8fb 100644
--- a/games-fps/rtcw/rtcw-9999.ebuild
+++ b/games-fps/rtcw/rtcw-9999.ebuild
@@ -55,7 +55,6 @@ RDEPEND="client? ( media-libs/libsdl2
#voip? ( media-libs/speex )"
dir=${GAMES_PREFIX_OPT}/${PN}
-ARCHITECTURE=$(uname -m)
use_switch() {
local flag="${1}" cfg_option="${2}" cfg_val=0
@@ -127,6 +126,8 @@ src_prepare(){
use curl && echo "USE_CURL_DLOPEN=0" >> ${makefile}
use openal && echo "USE_OPENAL_DLOPEN=0" >> ${makefile}
+
+ export ARCHITECTURE=$(uname -m)
}
src_compile() {