--- nano-2.0.7.ebuild.bak 2007-12-29 14:04:53.000000000 +0100 +++ nano-2.0.7.ebuild 2007-12-29 14:03:12.000000000 +0100 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-editors/nano/nano-2.0.7.ebuild,v 1.1 2007/12/21 06:40:59 vapier Exp $ -inherit eutils +inherit eutils autotools if [[ ${PV} == "9999" ]] ; then ECVS_SERVER="savannah.gnu.org:/cvsroot/nano" ECVS_MODULE="nano" @@ -32,6 +32,10 @@ src_unpack() { if [[ ! -e configure ]] ; then ./autogen.sh || die "autogen failed" fi + if !(use ncurses); then + epatch "${FILESDIR}"/${P}-slang-2-slotted.patch + autoreconf + fi } src_compile() {