LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS=""
-IUSE="debug doc nls sqlite"
+IUSE="doc nls sqlite"
 
 BOTHDEPEND="nls? ( virtual/libintl )
        sqlite? ( >=dev-db/sqlite-3:= )"
 
        sed -e "/eixf_source=/s:push.sh:cat \"${EROOT}usr/share/push/push.sh\":" \
                -e "/eixf_source=/s:quoter_pipe.sh:cat \"${EROOT}usr/share/quoter/quoter_pipe.sh\":" \
-               -i src/eix-functions.sh.in || die
+               -i src/eix-functions.sh.sh.in || die
        sed -e "s:'\$(bindir)/eix-functions.sh':cat \\\\\"${EROOT}usr/share/eix/eix-functions.sh\\\\\":" \
                -i src/Makefile.am || die
        eautoreconf
 
 src_configure() {
        local myconf=(
-               $(use_enable debug paranoicasserts)
                $(use_enable nls)
                $(use_with doc extra-doc)
                $(use_with sqlite)