mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 12:03:02 -04:00
games-fps/assaultcube: add debug USE flag
Signed-off-by: Duje Mihanović <duje.mihanovic@skole.hr>
This commit is contained in:
@@ -25,6 +25,7 @@ PATCHES=(
|
|||||||
"${FILESDIR}/assaultcube-1.3.0.2-respect-ldflags.patch
|
"${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
|
${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() {
|
src_prepare() {
|
||||||
eapply ${PATCHES}
|
eapply ${PATCHES}
|
||||||
@@ -34,7 +35,11 @@ src_prepare() {
|
|||||||
|
|
||||||
src_compile() {
|
src_compile() {
|
||||||
cd "${S}/source/src"
|
cd "${S}/source/src"
|
||||||
emake
|
if use debug; then
|
||||||
|
DEBUGBUILD=1 emake
|
||||||
|
else
|
||||||
|
emake
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
|
|||||||
Reference in New Issue
Block a user