--- links-2.1_pre17-r1.ebuild 2005-05-13 13:18:21.000000000 -0300 +++ links-2.1_pre17-r2.ebuild 2005-05-25 14:47:34.000000000 -0300 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/www-client/links/links-2.1_pre17-r1.ebuild,v 1.5 2005/05/13 16:18:21 vanquirius Exp $ -inherit eutils +inherit eutils toolchain-funcs DESCRIPTION="links is a fast lightweight text tand graphic web-browser" HOMEPAGE="http://atrey.karlin.mff.cuni.cz/~clock/twibright/links/" @@ -94,10 +94,14 @@ myconf="${myconf} --without-fb" fi + # force --with-libjpeg if livecd flag is set if use livecd; then myconf="${myconf} --with-libjpeg" fi + # hack to allow cross-compilation + export CC="$(tc-getCC)" + econf \ $(use_with X x) \ $(use_with png libpng) \