diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-03-16 16:19:44 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-03-16 16:19:44 +0000 |
commit | da03fdad2a9389aa8bc3c435b3ca09e1d244bbd0 (patch) | |
tree | daca0759db8e5960ca8066d9b538e1584e38bc72 | |
parent | code cleanup (diff) | |
download | gentoo-2-da03fdad2a9389aa8bc3c435b3ca09e1d244bbd0.tar.gz gentoo-2-da03fdad2a9389aa8bc3c435b3ca09e1d244bbd0.tar.bz2 gentoo-2-da03fdad2a9389aa8bc3c435b3ca09e1d244bbd0.zip |
make mycmakeargs an array
(Portage version: 2.1.7.17/cvs/Linux i686)
-rw-r--r-- | games-strategy/wesnoth/ChangeLog | 6 | ||||
-rw-r--r-- | games-strategy/wesnoth/wesnoth-1.6.5.ebuild | 48 | ||||
-rw-r--r-- | games-strategy/wesnoth/wesnoth-1.7.15.ebuild | 48 |
3 files changed, 55 insertions, 47 deletions
diff --git a/games-strategy/wesnoth/ChangeLog b/games-strategy/wesnoth/ChangeLog index d784201aab38..71a984c5cf93 100644 --- a/games-strategy/wesnoth/ChangeLog +++ b/games-strategy/wesnoth/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-strategy/wesnoth # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.170 2010/03/15 02:47:46 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/ChangeLog,v 1.171 2010/03/16 16:19:44 mr_bones_ Exp $ + + 16 Mar 2010; Michael Sterrett <mr_bones_@gentoo.org> wesnoth-1.6.5.ebuild, + wesnoth-1.7.15.ebuild: + make mycmakeargs an array *wesnoth-1.7.15 (15 Mar 2010) diff --git a/games-strategy/wesnoth/wesnoth-1.6.5.ebuild b/games-strategy/wesnoth/wesnoth-1.6.5.ebuild index 54394adcd9f9..48feb970fa30 100644 --- a/games-strategy/wesnoth/wesnoth-1.6.5.ebuild +++ b/games-strategy/wesnoth/wesnoth-1.6.5.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/wesnoth-1.6.5.ebuild,v 1.5 2009/12/31 14:28:02 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/wesnoth-1.6.5.ebuild,v 1.6 2010/03/16 16:19:44 mr_bones_ Exp $ EAPI=2 inherit cmake-utils eutils toolchain-funcs flag-o-matic games @@ -50,32 +50,34 @@ src_configure() { append-flags -fno-stack-protector fi if use dedicated || use server ; then - mycmakeargs="${mycmakeargs} - -DENABLE_CAMPAIGN_SERVER=TRUE - -DENABLE_SERVER=TRUE - -DSERVER_UID=${GAMES_USER_DED} - -DSERVER_GID=${GAMES_GROUP} - -DFIFO_DIR=${GAMES_STATEDIR}/run/wesnothd" + mycmakeargs=( + "-DENABLE_CAMPAIGN_SERVER=TRUE" + "-DENABLE_SERVER=TRUE" + "-DSERVER_UID=${GAMES_USER_DED}" + "-DSERVER_GID=${GAMES_GROUP}" + "-DFIFO_DIR=${GAMES_STATEDIR}/run/wesnothd" + ) else - mycmakeargs="${mycmakeargs} - -DENABLE_CAMPAIGN_SERVER=FALSE - -DENABLE_SERVER=FALSE" + mycmakeargs=( + "-DENABLE_CAMPAIGN_SERVER=FALSE" + "-DENABLE_SERVER=FALSE" + ) fi - mycmakeargs=" - ${mycmakeargs} + mycmakeargs+=( $(cmake-utils_use_enable !dedicated GAME) $(cmake-utils_use_enable !dedicated ENABLE_DESKTOP_ENTRY) $(cmake-utils_use_enable nls NLS) - -DGUI=$(use tinygui && echo tiny || echo normal) - -DENABLE_FRIBIDI=FALSE - -DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX} - -DPREFERENCES_DIR=.wesnoth - -DDATAROOTDIR=${GAMES_DATADIR} - -DBINDIR=${GAMES_BINDIR} - -DICONDIR=/usr/share/pixmaps - -DDESKTOPDIR=/usr/share/applications - -DMANDIR=/usr/share/man - -DDOCDIR=/usr/share/doc/${PF}" + "-DGUI=$(use tinygui && echo tiny || echo normal)" + "-DENABLE_FRIBIDI=FALSE" + "-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}" + "-DPREFERENCES_DIR=.wesnoth" + "-DDATAROOTDIR=${GAMES_DATADIR}" + "-DBINDIR=${GAMES_BINDIR}" + "-DICONDIR=/usr/share/pixmaps" + "-DDESKTOPDIR=/usr/share/applications" + "-DMANDIR=/usr/share/man" + "-DDOCDIR=/usr/share/doc/${PF}" + ) cmake-utils_src_configure } diff --git a/games-strategy/wesnoth/wesnoth-1.7.15.ebuild b/games-strategy/wesnoth/wesnoth-1.7.15.ebuild index 5f598e974085..73d9dabbd592 100644 --- a/games-strategy/wesnoth/wesnoth-1.7.15.ebuild +++ b/games-strategy/wesnoth/wesnoth-1.7.15.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/wesnoth-1.7.15.ebuild,v 1.1 2010/03/15 02:47:46 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/wesnoth/wesnoth-1.7.15.ebuild,v 1.2 2010/03/16 16:19:44 mr_bones_ Exp $ EAPI=2 inherit cmake-utils eutils toolchain-funcs flag-o-matic games @@ -65,34 +65,36 @@ src_configure() { append-flags -fno-stack-protector fi if use dedicated || use server ; then - mycmakeargs="${mycmakeargs} - -DENABLE_CAMPAIGN_SERVER=TRUE - -DENABLE_SERVER=TRUE - -DSERVER_UID=${GAMES_USER_DED} - -DSERVER_GID=${GAMES_GROUP} - -DFIFO_DIR=${GAMES_STATEDIR}/run/wesnothd" + mycmakeargs=( + "-DENABLE_CAMPAIGN_SERVER=TRUE" + "-DENABLE_SERVER=TRUE" + "-DSERVER_UID=${GAMES_USER_DED}" + "-DSERVER_GID=${GAMES_GROUP}" + "-DFIFO_DIR=${GAMES_STATEDIR}/run/wesnothd" + ) else - mycmakeargs="${mycmakeargs} - -DENABLE_CAMPAIGN_SERVER=FALSE - -DENABLE_SERVER=FALSE" + mycmakeargs=( + "-DENABLE_CAMPAIGN_SERVER=FALSE" + "-DENABLE_SERVER=FALSE" + ) fi - mycmakeargs=" - ${mycmakeargs} + mycmakeargs+=( $(cmake-utils_use_enable !dedicated GAME) $(cmake-utils_use_enable !dedicated ENABLE_DESKTOP_ENTRY) $(cmake-utils_use_enable nls NLS) $(cmake-utils_use_enable dbus NOTIFICATIONS) - -DGUI=$(use tinygui && echo tiny || echo normal) - -DENABLE_FRIBIDI=FALSE - -DENABLE_STRICT_COMPILATION=FALSE - -DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX} - -DPREFERENCES_DIR=.wesnoth - -DDATAROOTDIR=${GAMES_DATADIR} - -DBINDIR=${GAMES_BINDIR} - -DICONDIR=/usr/share/pixmaps - -DDESKTOPDIR=/usr/share/applications - -DMANDIR=/usr/share/man - -DDOCDIR=/usr/share/doc/${PF}" + "-DGUI=$(use tinygui && echo tiny || echo normal)" + "-DENABLE_FRIBIDI=FALSE" + "-DENABLE_STRICT_COMPILATION=FALSE" + "-DCMAKE_INSTALL_PREFIX=${GAMES_PREFIX}" + "-DPREFERENCES_DIR=.wesnoth" + "-DDATAROOTDIR=${GAMES_DATADIR}" + "-DBINDIR=${GAMES_BINDIR}" + "-DICONDIR=/usr/share/pixmaps" + "-DDESKTOPDIR=/usr/share/applications" + "-DMANDIR=/usr/share/man" + "-DDOCDIR=/usr/share/doc/${PF}" + ) cmake-utils_src_configure } |