--- funtools-1.4.0.ebuild 2008-11-27 21:06:45.000000000 +1100 +++ funtools-1.4.0-r1.ebuild 2008-12-06 14:56:50.000000000 +1100 @@ -23,6 +23,7 @@ src_prepare() { epatch "${WORKDIR}"/${P}-ds9-5.4.patch epatch "${FILESDIR}"/${P}-makefiles.patch + sed -i -e "s:\${LINK}:\${LINK} ${LDFLAGS}:" mklib } src_configure() {