diff options
author | Jeroen Roovers <jer@gentoo.org> | 2018-07-18 14:30:00 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2018-07-18 14:30:21 +0200 |
commit | 96c6c7a3faef6bdf2bc1bd6bc893dfb1d03fbc93 (patch) | |
tree | 9fe943d345cb1e0dd07af975e0cc6a5198929b8a /games-strategy | |
parent | 8878482f6f2039bf81ae8fbfe385b84300733c95 (diff) | |
download | gentoo-96c6c7a3faef6bdf2bc1bd6bc893dfb1d03fbc93.tar.gz gentoo-96c6c7a3faef6bdf2bc1bd6bc893dfb1d03fbc93.tar.xz |
games-strategy/tornado: Add USE=nls.
Package-Manager: Portage-2.3.43, Repoman-2.3.10
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/tornado/files/tornado-1.4-r2-gentoo.patch (renamed from games-strategy/tornado/files/tornado-1.4-r1-gentoo.patch) | 0 | ||||
-rw-r--r-- | games-strategy/tornado/tornado-1.4-r2.ebuild (renamed from games-strategy/tornado/tornado-1.4-r1.ebuild) | 12 |
2 files changed, 10 insertions, 2 deletions
diff --git a/games-strategy/tornado/files/tornado-1.4-r1-gentoo.patch b/games-strategy/tornado/files/tornado-1.4-r2-gentoo.patch index 72951781f3e..72951781f3e 100644 --- a/games-strategy/tornado/files/tornado-1.4-r1-gentoo.patch +++ b/games-strategy/tornado/files/tornado-1.4-r2-gentoo.patch diff --git a/games-strategy/tornado/tornado-1.4-r1.ebuild b/games-strategy/tornado/tornado-1.4-r2.ebuild index 1cdb04da4b1..c2a5f7c2f76 100644 --- a/games-strategy/tornado/tornado-1.4-r1.ebuild +++ b/games-strategy/tornado/tornado-1.4-r2.ebuild @@ -11,13 +11,14 @@ SRC_URI="${HOMEPAGE}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="nls" DEPEND=" - sys-devel/gettext + nls? ( sys-devel/gettext ) " RDEPEND=" - virtual/libintl + nls? ( virtual/libintl ) " PATCHES=( @@ -25,6 +26,13 @@ PATCHES=( ) src_configure() { + if ! use nls; then + sed -i \ + -e '/^all:/s|locales||g' \ + -e '/^install:/s|install-locale-data||g' \ + Makefile || die + fi + tc-export CC PKG_CONFIG } |