--- sge-030809.ebuild.orig 2007-06-29 08:41:51.039777402 +0000 +++ sge-030809.ebuild 2007-06-29 08:41:57.127848628 +0000 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/media-libs/sge/sge-030809.ebuild,v 1.7 2007/05/15 17:49:03 mabi Exp $ -inherit eutils +inherit eutils multilib MY_P="sge${PV}" DESCRIPTION="Graphics extensions library for SDL" @@ -27,6 +27,7 @@ "${FILESDIR}"/${P}-build.patch \ "${FILESDIR}"/${P}-freetype.patch \ "${FILESDIR}"/${P}-cmap.patch + sed -i -e "s|\$(PREFIX)/lib|\$(PREFIX)/$(get_libdir)|g" Makefile } src_compile() {