--- /usr/portage/app-doc/psmark/psmark-2.1.ebuild 2009-04-05 02:08:24.000000000 -0600 +++ /usr/portage/app-doc/psmark/psmark-2.1.ebuild 2009-04-22 17:13:00.000000000 -0600 @@ -18,10 +18,18 @@ KEYWORDS="~x86" DEPEND="virtual/libc" RDEPEND="${DEPEND}" +src_unpack() { + unpack ${A} + cd "${S}" + + #Fixing pre-stripped file + sed -i Makefile -e '/strip/d' || die "sed Makefile failed" +} + src_compile() { cd ${S} epatch ${FILESDIR}/${P}-string.patch || die "epatch failed" make CFLAGS="${CFLAGS}" || die "make failed" }