diff options
Diffstat (limited to 'games-board/openyahtzee/openyahtzee-1.7.ebuild')
-rw-r--r-- | games-board/openyahtzee/openyahtzee-1.7.ebuild | 8 |
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!" } |