From 170b010908c69312c4d5fc3971c76818d23b2e6e Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Thu, 25 Feb 2016 20:23:35 +0100 Subject: [PATCH] games-fps/eduke32: improve --- packages/games-fps/eduke32/eduke32-scm.exheres-0 | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/packages/games-fps/eduke32/eduke32-scm.exheres-0 b/packages/games-fps/eduke32/eduke32-scm.exheres-0 index ac8388d4..e0008159 100644 --- a/packages/games-fps/eduke32/eduke32-scm.exheres-0 +++ b/packages/games-fps/eduke32/eduke32-scm.exheres-0 @@ -106,6 +106,7 @@ src_compile() { CC=${CC} CXX=${CXX} RANLIB=${RANLIB} + CUSTOMOPT="${CFLAGS}" STRIP=touch ARCH= @@ -117,6 +118,7 @@ src_compile() { LUNATIC=0 NETCODE=1 NOASM=1 + OPTLEVEL=0 POLYMER=1 PRETTY_OUTPUT=0 RELEASE=1 @@ -129,8 +131,10 @@ src_compile() { $(usex vpx "USE_LIBVPX=1" "USE_LIBVPX=0") ) - emake ${MY_OPTS[@]} - emake ${MY_OPTS[@]} $(option tools "utils" "") + emake "${MY_OPTS[@]}" + if option tools ; then + emake "${MY_OPTS[@]}" utils + fi } src_install() { @@ -207,8 +211,6 @@ Categories=Game;ActionGame; EOF dodoc build/buildlic.txt - - keepdir /var/log/eduke32 } pkg_postinst() {