--- velvet-0.7.55.ebuild.orig 2009-10-10 14:36:08.861978604 +0200 +++ velvet-0.7.55.ebuild 2009-10-10 14:35:11.620977647 +0200 @@ -23,8 +23,9 @@ src_prepare() { rm -rf "${S}"/third-party/zlib* sed -i -e '/\(CFLAGS\|LDFLAGS\|Z_LIB_DIR\|Z_LIB_FILES\) *= */d' \ - -e '1 a CFLAGS+= -Wall' -e '1 a LDFLAGS+= -lm -lz' \ + -e '1 a CFLAGS+= -Wall' -e '1 a LIBS = -lm -lz' \ -e '/default :/ s/zlib//' -e '/color :/ s/zlib//' \ + -e 's/Z_LIB_FILES/LIBS/' \ "${S}"/Makefile || die use doc || sed -i -e '/default :/ s/doc//' "${S}"/Makefile || die sed -i -e '/zlib.h/d' -e '1 i #include ' "${S}"/src/readSet.c || die