--- newt-0.52.2.ebuild.orig 2008-01-17 07:10:55 +0000 +++ newt-0.52.2.ebuild 2008-01-17 07:11:22 +0000 @@ -29,11 +29,6 @@ rpm_src_unpack cd "${S}" - # bug 73850 - if use elibc_uclibc; then - sed -i -e 's:-lslang:-lslang -lncurses:g' ${S}/Makefile.in - fi - epatch "${FILESDIR}"/${P}-scrollbars.patch epatch "${FILESDIR}"/${P}-pgupdown-crash.patch epatch "${FILESDIR}"/${P}-screensize.patch @@ -47,6 +42,11 @@ if ! use tcl; then epatch "${FILESDIR}"/${P}-notcl.patch fi + + # bug 73850 + if use elibc_uclibc; then + sed -i -e 's:-lslang:-lslang -lncurses:g' ${S}/Makefile.in + fi } src_compile() {