--- autoconf-2.61.ebuild~ 2007-01-20 00:36:23.000000000 +0100 +++ autoconf-2.61.ebuild 2007-07-04 17:24:33.000000000 +0200 @@ -16,11 +16,11 @@ dev-lang/perl" RDEPEND="${DEPEND} >=sys-devel/autoconf-wrapper-4-r2" +PDEPEND="emacs? ( app-emacs/autoconf-mode )" src_compile() { - (use emacs && type -p emacs) \ - && export EMACS=emacs \ - || export EMACS=no + # Disable emacs in the build system since it is in a separate package + export EMACS=no econf --program-suffix="-${PV}" || die # econf updates config.{sub,guess} which forces the manpages # to be regenerated which we dont want to do #146621