summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-games/cegui/cegui-0.8.7-r1.ebuild6
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)