diff options
author | 2022-04-07 10:14:00 +0200 | |
---|---|---|
committer | 2022-04-07 10:14:51 +0200 | |
commit | 94f0d4472fad48bfbdd36043820b339ef2dfc3ce (patch) | |
tree | c1ac1a67bdd9c86ec0ab2d918e34ec6cda73338f /games-fps | |
parent | games-fps/assaultcube: fix checkinstall.sh, server installation (diff) | |
download | guru-94f0d4472fad48bfbdd36043820b339ef2dfc3ce.tar.gz guru-94f0d4472fad48bfbdd36043820b339ef2dfc3ce.tar.bz2 guru-94f0d4472fad48bfbdd36043820b339ef2dfc3ce.zip |
games-fps/assaultcube: add debug USE flag
Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr>
Diffstat (limited to 'games-fps')
-rw-r--r-- | games-fps/assaultcube/assaultcube-1.3.0.2.ebuild | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/games-fps/assaultcube/assaultcube-1.3.0.2.ebuild b/games-fps/assaultcube/assaultcube-1.3.0.2.ebuild index 9ac5610c54..d66c888b2c 100644 --- a/games-fps/assaultcube/assaultcube-1.3.0.2.ebuild +++ b/games-fps/assaultcube/assaultcube-1.3.0.2.ebuild @@ -25,6 +25,7 @@ PATCHES=( "${FILESDIR}/assaultcube-1.3.0.2-respect-ldflags.patch ${FILESDIR}/assaultcube-1.3.0.2-fix-checkinstall.patch" # a script which checks for required libs and certain parts of the game ) +IUSE="debug" src_prepare() { eapply ${PATCHES} @@ -34,7 +35,11 @@ src_prepare() { src_compile() { cd "${S}/source/src" - emake + if use debug; then + DEBUGBUILD=1 emake + else + emake + fi } src_install() { |