diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2003-09-30 07:23:15 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2003-09-30 07:23:15 +0000 |
commit | a3c8ff6b5dd482189e68538027ba7a11b0e4a949 (patch) | |
tree | 6a22c8382490412cd6262552780be98543a79700 /games-board | |
parent | Initial import. (diff) | |
download | gentoo-2-a3c8ff6b5dd482189e68538027ba7a11b0e4a949.tar.gz gentoo-2-a3c8ff6b5dd482189e68538027ba7a11b0e4a949.tar.bz2 gentoo-2-a3c8ff6b5dd482189e68538027ba7a11b0e4a949.zip |
Failed to link with USE=nas so fix configure.in in this case. Also, default to gtk2; added more DEPENDs based on USE flags.
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/gnubg/ChangeLog | 6 | ||||
-rw-r--r-- | games-board/gnubg/Manifest | 4 | ||||
-rw-r--r-- | games-board/gnubg/gnubg-0.13.0-r1.ebuild | 18 |
3 files changed, 22 insertions, 6 deletions
diff --git a/games-board/gnubg/ChangeLog b/games-board/gnubg/ChangeLog index f0f9fa60ee76..463f76212ffc 100644 --- a/games-board/gnubg/ChangeLog +++ b/games-board/gnubg/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-board/gnubg # Copyright 2000-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.3 2003/09/30 05:41:34 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/ChangeLog,v 1.4 2003/09/30 07:23:12 mr_bones_ Exp $ + + 30 Sep 2003; Michael Sterrett <mr_bones_@gentoo.org> gnubg-0.13.0-r1.ebuild: + Failed to link with USE=nas so fix configure.in in this case. Also, default + to gtk2; added more DEPENDs based on USE flags. *gnubg-0.13.0-r1 (29 Sep 2003) diff --git a/games-board/gnubg/Manifest b/games-board/gnubg/Manifest index 87534d09f79b..1995a97667d9 100644 --- a/games-board/gnubg/Manifest +++ b/games-board/gnubg/Manifest @@ -1,6 +1,6 @@ -MD5 6fb0d4cbdcb866b33c29da5a0d733f07 ChangeLog 748 +MD5 1b19e837a1c06a5949d9dc904975cce9 ChangeLog 957 MD5 3f11aaf297b2fe67404a96cda13e9bfe metadata.xml 251 -MD5 80e5e8e72da4d95fe29657783faa359a gnubg-0.13.0-r1.ebuild 2215 +MD5 5205950de80a4d35f436216ab7394b7f gnubg-0.13.0-r1.ebuild 2575 MD5 e7f96fb3c96185e3df222fc2277ba015 gnubg-0.13.0.ebuild 1819 MD5 14a8f9e2546292fc22c04fbea97287f7 files/digest-gnubg-0.13.0 188 MD5 14a8f9e2546292fc22c04fbea97287f7 files/digest-gnubg-0.13.0-r1 188 diff --git a/games-board/gnubg/gnubg-0.13.0-r1.ebuild b/games-board/gnubg/gnubg-0.13.0-r1.ebuild index 71492b29eae7..f397848a0143 100644 --- a/games-board/gnubg/gnubg-0.13.0-r1.ebuild +++ b/games-board/gnubg/gnubg-0.13.0-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/gnubg-0.13.0-r1.ebuild,v 1.1 2003/09/30 05:41:34 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/gnubg/gnubg-0.13.0-r1.ebuild,v 1.2 2003/09/30 07:23:12 mr_bones_ Exp $ inherit games @@ -16,22 +16,34 @@ SLOT="0" KEYWORDS="x86" IUSE="gtk gtk2 readline guile X gdbm truetype nls png esd arts nas" -DEPEND="guile? ( dev-util/guile ) +# FIXME does this need to DEPEND on netpbm? +RDEPEND="guile? ( dev-util/guile ) truetype? ( =media-libs/freetype-1* ) || ( - gtk? ( =x11-libs/gtk+-1.2* =dev-libs/glib-1* ) gtk2? ( =x11-libs/gtk+-2* =dev-libs/glib-2* ) + gtk? ( =x11-libs/gtk+-1.2* =dev-libs/glib-1* ) ) readline? ( sys-libs/readline ) X? ( virtual/x11 ) gdbm? ( sys-libs/gdbm ) + esd? ( media-sound/esound ) + arts? ( kde-base/arts ) + nas? ( media-libs/nas ) png? ( media-libs/libpng )" +DEPEND="${RDEPEND} + nas? ( >=sys-apps/sed-4 )" src_unpack() { unpack ${A} cd ${S} mv ../${PN}.weights-${WPV} ${S}/${PN}.weights mv ../${PN}.bd ${S} + if [ `use nas` ] ; then + # couldn't find -laudio without this. Very odd. + sed -i \ + -e "s:-laudio:-L/usr/X11R6/lib/ -laudio:" configure.in || \ + die "sed configure.in failed" + fi } src_compile() { |