diff options
author | James Le Cuirot <chewi@gentoo.org> | 2020-05-16 20:54:18 +0100 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2020-05-16 21:43:17 +0100 |
commit | 45bf572a8b0b2722eff5486d91c1beae0f5baf7b (patch) | |
tree | cd6fd4f600e96bdb12c8e619edeb6e278971b342 /dev-games/cegui | |
parent | dev-games/cegui: Drop all keywords to unstable (diff) | |
download | gentoo-45bf572a8b0b2722eff5486d91c1beae0f5baf7b.tar.gz gentoo-45bf572a8b0b2722eff5486d91c1beae0f5baf7b.tar.bz2 gentoo-45bf572a8b0b2722eff5486d91c1beae0f5baf7b.zip |
dev-games/cegui: Don't do Python things when USE=-python
Thanks to Samuel Bauer.
Closes: https://bugs.gentoo.org/710452
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'dev-games/cegui')
-rw-r--r-- | dev-games/cegui/cegui-0.8.7-r1.ebuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/dev-games/cegui/cegui-0.8.7-r1.ebuild b/dev-games/cegui/cegui-0.8.7-r1.ebuild index 64adf6bd13e7..57181d880fda 100644 --- a/dev-games/cegui/cegui-0.8.7-r1.ebuild +++ b/dev-games/cegui/cegui-0.8.7-r1.ebuild @@ -16,7 +16,7 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="bidi debug devil doc freeimage expat irrlicht lua ogre opengl pcre python static-libs tinyxml truetype xerces-c +xml zip" REQUIRED_USE="|| ( expat tinyxml xerces-c xml ) - ${PYTHON_REQUIRED_USE}" # bug 362223 + python? ( ${PYTHON_REQUIRED_USE} )" # bug 362223 # gles broken # gles? ( media-libs/mesa[gles1] ) @@ -60,6 +60,10 @@ DEPEND="${RDEPEND} PATCHES=( "${FILESDIR}"/${P}-icu-59.patch ) +pkg_setup() { + use python && python-single-r1_pkg_setup +} + src_configure() { # http://www.cegui.org.uk/mantis/view.php?id=991 append-ldflags $(no-as-needed) |