summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-12-21 14:03:46 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-12-21 14:03:46 +0000
commit31dd345de6d270fadf935b68f55385bf28be9620 (patch)
tree07d9f6651dac49d0ac12721b210fd87afdbb26a8 /games-board/openyahtzee
parentRestore "pause" functionality to teach people to convert #218859 by Martin Mo... (diff)
downloadgentoo-2-31dd345de6d270fadf935b68f55385bf28be9620.tar.gz
gentoo-2-31dd345de6d270fadf935b68f55385bf28be9620.tar.bz2
gentoo-2-31dd345de6d270fadf935b68f55385bf28be9620.zip
Fix building with -Wl,--as-needed wrt #294177 by Kacper Kowalik.
(Portage version: 2.2_rc59/cvs/Linux x86_64)
Diffstat (limited to 'games-board/openyahtzee')
-rw-r--r--games-board/openyahtzee/ChangeLog6
-rw-r--r--games-board/openyahtzee/openyahtzee-1.9.ebuild11
2 files changed, 14 insertions, 3 deletions
diff --git a/games-board/openyahtzee/ChangeLog b/games-board/openyahtzee/ChangeLog
index 089936fc1a30..946dba758a3e 100644
--- a/games-board/openyahtzee/ChangeLog
+++ b/games-board/openyahtzee/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-board/openyahtzee
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/openyahtzee/ChangeLog,v 1.9 2009/09/19 11:33:30 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/openyahtzee/ChangeLog,v 1.10 2009/12/21 14:03:46 ssuominen Exp $
+
+ 21 Dec 2009; Samuli Suominen <ssuominen@gentoo.org>
+ openyahtzee-1.9.ebuild:
+ Fix building with -Wl,--as-needed wrt #294177 by Kacper Kowalik.
19 Sep 2009; Markus Meier <maekke@gentoo.org> openyahtzee-1.9.ebuild:
amd64/x86 stable, bug #285383
diff --git a/games-board/openyahtzee/openyahtzee-1.9.ebuild b/games-board/openyahtzee/openyahtzee-1.9.ebuild
index cef337a40db1..5213d767f42a 100644
--- a/games-board/openyahtzee/openyahtzee-1.9.ebuild
+++ b/games-board/openyahtzee/openyahtzee-1.9.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/openyahtzee/openyahtzee-1.9.ebuild,v 1.3 2009/09/19 11:33:30 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/openyahtzee/openyahtzee-1.9.ebuild,v 1.4 2009/12/21 14:03:46 ssuominen Exp $
EAPI=2
WX_GTK_VER="2.8"
-inherit wxwidgets games
+inherit autotools wxwidgets games
DESCRIPTION="A full-featured wxWidgets version of the classic dice game Yahtzee"
HOMEPAGE="http://openyahtzee.sourceforge.net/"
@@ -17,6 +17,13 @@ IUSE=""
DEPEND="x11-libs/wxGTK:2.8[X]"
+src_prepare() {
+ sed -i \
+ -e 's:openyahtzee_LDFLAGS:openyahtzee_LDADD:' \
+ src/Makefile.am || die
+ eautoreconf
+}
+
src_configure() {
egamesconf --datadir=/usr/share || die
}