summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Rutenberg (guyru) <guyrutenberg@gmail.com>2007-02-28 19:00:45 +0000
committerGuy Rutenberg (guyru) <guyrutenberg@gmail.com>2007-02-28 19:00:45 +0000
commiteabcf0eba383cc14fed80a070daebd6fe9480fc3 (patch)
treedf2337effb0dfa049de18e77dfdeb79f2e82b449 /games-board/openyahtzee/openyahtzee-1.7.ebuild
parentnet-mail/dbmail: version bump, message patch not needed anymore (diff)
downloadsunrise-eabcf0eba383cc14fed80a070daebd6fe9480fc3.tar.gz
sunrise-eabcf0eba383cc14fed80a070daebd6fe9480fc3.tar.bz2
sunrise-eabcf0eba383cc14fed80a070daebd6fe9480fc3.zip
games-board/openyahtzee: replaced set-wxconfig with need-wxwidgets and added unicode as use flag
svn path=/sunrise/; revision=3104
Diffstat (limited to 'games-board/openyahtzee/openyahtzee-1.7.ebuild')
-rw-r--r--games-board/openyahtzee/openyahtzee-1.7.ebuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/games-board/openyahtzee/openyahtzee-1.7.ebuild b/games-board/openyahtzee/openyahtzee-1.7.ebuild
index ca52c15bb..8375c2a47 100644
--- a/games-board/openyahtzee/openyahtzee-1.7.ebuild
+++ b/games-board/openyahtzee/openyahtzee-1.7.ebuild
@@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/openyahtzee/${MY_PN}-${PV}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE=""
+IUSE="unicode"
DEPEND=">=x11-libs/wxGTK-2.6
>=dev-db/sqlite-3.0"
@@ -23,7 +23,11 @@ S=${WORKDIR}/${MY_PN}
src_compile() {
WX_GTK_VER=2.6
- set-wxconfig
+ if use unicode; then
+ need-wxwidgets unicode
+ else
+ need-wxwidgets gtk2
+ fi
egamesconf
emake || die "Compile Failed!"
}