diff options
author | Krzysztof Pawlik <nelchael@gentoo.org> | 2011-08-05 21:02:42 +0000 |
---|---|---|
committer | Krzysztof Pawlik <nelchael@gentoo.org> | 2011-08-05 21:02:42 +0000 |
commit | e443b3864f235c8d1d69ba0b1f03790aef708bb5 (patch) | |
tree | 4262b1e7cfc12750c7cdbc5e366e3c6491da0231 /sys-apps/tuxonice-userui/tuxonice-userui-1.0.ebuild | |
parent | Make compatible with system miniupnpc-1.6, bug #376795 wrt Oleg. (diff) | |
download | gentoo-2-e443b3864f235c8d1d69ba0b1f03790aef708bb5.tar.gz gentoo-2-e443b3864f235c8d1d69ba0b1f03790aef708bb5.tar.bz2 gentoo-2-e443b3864f235c8d1d69ba0b1f03790aef708bb5.zip |
Fix linking with static bzip2 (from freetype) when building tuxonice userui with fbsplash enabled, see bug #375243.
(Portage version: 2.1.10.9/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/tuxonice-userui/tuxonice-userui-1.0.ebuild')
-rw-r--r-- | sys-apps/tuxonice-userui/tuxonice-userui-1.0.ebuild | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sys-apps/tuxonice-userui/tuxonice-userui-1.0.ebuild b/sys-apps/tuxonice-userui/tuxonice-userui-1.0.ebuild index bdd288d4f071..8bfe582d0edf 100644 --- a/sys-apps/tuxonice-userui/tuxonice-userui-1.0.ebuild +++ b/sys-apps/tuxonice-userui/tuxonice-userui-1.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/tuxonice-userui/tuxonice-userui-1.0.ebuild,v 1.6 2010/12/26 09:29:06 nelchael Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/tuxonice-userui/tuxonice-userui-1.0.ebuild,v 1.7 2011/08/05 21:02:42 nelchael Exp $ EAPI="2" @@ -19,11 +19,14 @@ DEPEND="fbsplash? ( >=media-gfx/splashutils-1.5.2.1 media-libs/libmng[lcms] || ( >=media-libs/libpng-1.4.4[static-libs] <media-libs/libpng-1.4.4:0 ) + app-arch/bzip2[static] media-libs/lcms:0[static-libs] )" RDEPEND="${DEPEND}" src_prepare() { epatch "${FILESDIR}/${P}-Makefiles.patch" + + sed -i -e 's/-lfreetype/-lfreetype -lbz2/' "${S}/Makefile" || die } src_compile() { |