--- clanlib-0.7.8-r1.ebuild.orig 2005-04-27 04:57:46.000000000 +0200 +++ clanlib-0.7.8-r1.ebuild.orig 2005-04-28 14:57:59.000000000 +0200 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/dev-games/clanlib/clanlib-0.7.8-r1.ebuild,v 1.5 2005/03/02 02:40:49 vapier Exp $ -inherit flag-o-matic eutils +inherit flag-o-matic eutils x11-prefix DESCRIPTION="multi-platform game development library" HOMEPAGE="http://www.clanlib.org/" @@ -36,6 +36,9 @@ Makefile.in \ || die "sed Makefile.in failed" fi + + # fix a Makefile to link against the right X11 libdir + sed -i "s:-L/usr/X11R6:-L${X11_PREFIX}:" ${S}/Sources/Display/Makefile.in } src_compile() {