diff options
| author | xHire <xhire@tuxportal.cz> | 2008-11-09 17:14:53 +0100 |
|---|---|---|
| committer | xHire <xhire@tuxportal.cz> | 2008-11-09 17:16:52 +0100 |
| commit | de05256afe45ad24cda83ed1e2cf873c97de132c (patch) | |
| tree | 9b521f139bf89d30af13b4c23ac5b274aa66be89 | |
| parent | 71f4394aff8288ea1df2d637de9a831d6f4d29d5 (diff) | |
Switched -DNLS=0 switch to -DNO_NLS=1 switch
| -rw-r--r-- | CMakeLists.txt | 6 | ||||
| -rw-r--r-- | packaging/gentoo/tuxanci-9999.ebuild | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index db504f4..6d1cb9e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,7 +8,7 @@ # -DNO_Audio=1 # disable audio # -DDebug=1 # enable debug # -DCMAKE_C_FLAGS=-Wall # modification for CFLAGS -# -DNLS=0 # disable Gettext NLS +# -DNO_NLS=1 # disable Gettext NLS # -DApple=1 # build apple port # -DCMAKE_INSTALL_PREFIX=/bla/ # install prefix # -DCMAKE_DATA_PATH=/other/bla/ # install path for data @@ -176,12 +176,12 @@ ENDIF ( Bundle ) ############################################################################### # GETTEXT SUPPORT ############################################################################### -IF ( NLS ) +IF ( NOT NO_NLS ) MESSAGE ( STATUS "<Building with NLS as requested>" ) MESSAGE ( STATUS "<******************************>" ) ADD_DEFINITIONS ( -DNLS ) ADD_SUBDIRECTORY ( po ) -ENDIF ( NLS ) +ENDIF ( NOT NO_NLS ) ############################################################################### # COMPILATION ITSELF ############################################################################### diff --git a/packaging/gentoo/tuxanci-9999.ebuild b/packaging/gentoo/tuxanci-9999.ebuild index 05f99cd..d82c609 100644 --- a/packaging/gentoo/tuxanci-9999.ebuild +++ b/packaging/gentoo/tuxanci-9999.ebuild @@ -6,7 +6,7 @@ EAPI="2" inherit cmake-utils git games -DESCRIPTION="Tuxanci is first cushion shooter inspired by game Bulanci." +DESCRIPTION="Tuxanci is first tux shooter inspired by game Bulanci." HOMEPAGE="http://www.tuxanci.org/" EGIT_REPO_URI="git://repo.or.cz/tuxanci.git" #SRC_URI="http://download.${PN}.org/${P}.tar.bz2" @@ -40,7 +40,7 @@ src_configure() { use alsa || mycmakeargs="${mycmakeargs} -DNO_Audio=1" use debug && mycmakeargs="${mycmakeargs} -DDebug=1" use dedicated && mycmakeargs="${mycmakeargs} -DServer=1" - use nls && mycmakeargs="${mycmakeargs} -DNLS=1" + use nls || mycmakeargs="${mycmakeargs} -DNO_NLS=1" use opengl || mycmakeargs="${mycmakeargs} -DNO_OPENGL=1" mycmakeargs="${mycmakeargs} -DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX} -DCMAKE_DATA_PATH=${GAMES_DATADIR} |