--- xpa-2.1.8.ebuild 2008-11-28 22:07:09.000000000 +1100 +++ xpa-2.1.8-r1.ebuild 2008-12-06 14:31:31.000000000 +1100 @@ -22,6 +22,7 @@ src_prepare() { epatch "${WORKDIR}"/${P}-ds9-5.4.patch epatch "${FILESDIR}"/${P}-makefile.patch + sed -i -e "s:\${LINK}:\${LINK} ${LDFLAGS}:" mklib eautoconf }