--- gperiodic-1.3.2.ebuild Thu Oct 18 16:55:37 2001 +++ gperiodic-1.3.3.ebuild Tue Mar 19 23:39:20 2002 @@ -19,8 +19,17 @@ #Fix version number,comment out non-working lex inquiry # to eliminate superfluous config error, and use ncurses for termcap - patch -p1 < ${FILESDIR}/${P}-gentoo.diff || die + + # Fix NLS --disable-nls being ignored + if [ -z "`use nls`" ] + then + cd ${S}/po + cp Makefile.in Makefile.in.orig + sed -e "s/^install: install-exec install-data/install:/" \ + Makefile.in.orig >Makefile.in + rm -f Makefile.in.orig + fi } src_compile() { @@ -29,6 +38,8 @@ if [ -z "`use nls`" ] then myconf="--disable-nls" + else + myconf="--enable-nls" fi ./configure --host=${CHOST} \