diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2006-07-24 08:30:56 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2006-07-24 08:30:56 +0000 |
commit | c2add567cd93fb013aef29c6e08a20036f7bcfe5 (patch) | |
tree | 77d6509d7b93c6e90f65f4e537078ab628726c53 /media-libs/sdl-mixer/sdl-mixer-1.2.7.ebuild | |
parent | fix patch tarballs, d'oh (diff) | |
download | historical-c2add567cd93fb013aef29c6e08a20036f7bcfe5.tar.gz historical-c2add567cd93fb013aef29c6e08a20036f7bcfe5.tar.bz2 historical-c2add567cd93fb013aef29c6e08a20036f7bcfe5.zip |
work around wonky logic for mikmod support in configure (bug #140152)
Package-Manager: portage-2.1.1_pre3-r1
Diffstat (limited to 'media-libs/sdl-mixer/sdl-mixer-1.2.7.ebuild')
-rw-r--r-- | media-libs/sdl-mixer/sdl-mixer-1.2.7.ebuild | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/media-libs/sdl-mixer/sdl-mixer-1.2.7.ebuild b/media-libs/sdl-mixer/sdl-mixer-1.2.7.ebuild index b574af1417b6..c582818261c0 100644 --- a/media-libs/sdl-mixer/sdl-mixer-1.2.7.ebuild +++ b/media-libs/sdl-mixer/sdl-mixer-1.2.7.ebuild @@ -1,6 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-mixer/sdl-mixer-1.2.7.ebuild,v 1.2 2006/07/20 02:05:46 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/sdl-mixer/sdl-mixer-1.2.7.ebuild,v 1.3 2006/07/24 08:30:56 mr_bones_ Exp $ + +inherit eutils MY_P=${P/sdl-/SDL_} DESCRIPTION="Simple Direct Media Layer Mixer Library" @@ -23,17 +25,20 @@ S=${WORKDIR}/${MY_P} src_unpack() { unpack ${A} cd "${S}" + epatch "${FILESDIR}/${P}-libmikmod.patch" sed -i \ -e 's:/usr/local/lib/timidity:/usr/share/timidity:' \ timidity/config.h \ || die "sed timidity/config.h failed" + aclocal && autoconf || die "autotools failed" } src_compile() { - # don't use the internal mikmod library, use the system one if USE=mikmod econf \ - --disable-music-mod \ + --disable-dependency-tracking \ + $(use_enable timidity music-midi) \ $(use_enable timidity timidity-midi) \ + $(use_enable mikmod music-mod) \ $(use_enable mikmod music-libmikmod) \ $(use_enable mp3 music-mp3) \ $(use_enable vorbis music-ogg) \ |