Skip to content

Commit

Permalink
Merge pull request #55 from l29ah/master
Browse files Browse the repository at this point in the history
games-roguelike/cataclysm-dda: "debug" USE flag added.
  • Loading branch information
leycec authored Nov 28, 2016
2 parents c8e6887 + 5ebe17b commit 7d84311
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions games-roguelike/cataclysm-dda/cataclysm-dda-9999-r6.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ HOMEPAGE="http://en.cataclysmdda.com"
LICENSE="CC-BY-SA-3.0"
SLOT="0"
IUSE="
clang lua luajit ncurses nls sdl sound test xdg kernel_linux kernel_Darwin"
clang debug lua luajit ncurses nls sdl sound test xdg kernel_linux kernel_Darwin"
REQUIRED_USE="
lua? ( sdl )
luajit? ( lua )
Expand Down Expand Up @@ -127,9 +127,6 @@ src_compile() {
DATA_PREFIX="${ED}/${CATACLYSM_HOME}"
LOCALE_DIR="${ED}"/usr/share/locale

# For efficiency, prefer release to debug builds.
RELEASE=1

# Link against Portage-provided shared libraries.
DYNAMIC_LINKING=1

Expand All @@ -150,6 +147,9 @@ src_compile() {
# USE flags are disabled.
use clang && CATACLYSM_EMAKE_NCURSES+=( CLANG=1 )

# For efficiency, prefer release to debug builds.
use debug || CATACLYSM_EMAKE_NCURSES+=( RELEASE=1 )

# Detect the current machine architecture and operating system.
local cataclysm_arch
if use kernel_linux; then
Expand Down

0 comments on commit 7d84311

Please sign in to comment.