Rebuilding autotools through maintainer-mode is _not_ good, because it usually means you forget to add dependencies, and they'll magically use the same version as used by upstream, which might not be what the user have installed at all. If you patch Makefile.am or configure.in/configure.ac you _have to_ use autotools.eclass and eautomake/eautoreconf. Exceptions are granted _only_ for system packages that would make it impossible to run autotools during stagebuilding. Please fix your package.
I use already "eautoconf". That works for me. But if I change this to "eautoreconf" it fails: ***** aclocal ***** ***** aclocal -I m4 /usr/share/aclocal/dynamite.m4:4: warning: underquoted definition of AM_PATH_LIBDYNAMITE /usr/share/aclocal/dynamite.m4:4: run info '(automake)Extending aclocal' /usr/share/aclocal/dynamite.m4:4: or see http://sources.redhat.com/automake/automake.html#Extending-aclocal configure.ac:199: error: unknown libltdl build type: _LTDL_TYPE /usr/share/aclocal/ltdl.m4:242: LTDL_INIT is expanded from... /usr/share/aclocal/ltdl.m4:368: AC_LIB_LTDL is expanded from... configure.ac:199: the top level autom4te-2.62: /usr/bin/m4 failed with exit status: 1 aclocal-1.10: autom4te failed with exit status: 1 any hints?
29 Jun 2008; Peter Alfredsen <loki_val@gentoo.org> + +files/iscan-2.11.0-libltdl.patch, iscan-2.11.0.ebuild: + Fix libtool-2.2 breakage and do a full eautoreconf wrt bug #226315. +
well, it's not really fixed. on one machine it compiles fine, on another it fails with: make[1]: Entering directory `/var/gentoo/portage/media-gfx/iscan-2.11.0/work/iscan-2.11.0' Making all in include make[2]: Entering directory `/var/gentoo/portage/media-gfx/iscan-2.11.0/work/iscan-2.11.0/include' make[2]: Für das Ziel »all« ist nichts zu tun. make[2]: Leaving directory `/var/gentoo/portage/media-gfx/iscan-2.11.0/work/iscan-2.11.0/include' Making all in libltdl make[2]: Entering directory `/var/gentoo/portage/media-gfx/iscan-2.11.0/work/iscan-2.11.0/libltdl' make[2]: *** Keine Regel vorhanden, um das Target »acinclude.m4«, benötigt von »Makefile.in«, zu erstellen. Schluss. make[2]: Leaving directory `/var/gentoo/portage/media-gfx/iscan-2.11.0/work/iscan-2.11.0/libltdl' make[1]: *** [all-recursive] Fehler 1 make[1]: Leaving directory `/var/gentoo/portage/media-gfx/iscan-2.11.0/work/iscan-2.11.0' make: *** [all] Fehler 2
finally fixed.
*** Bug 283980 has been marked as a duplicate of this bug. ***