The autoreconf is not needed at all; upstream ships a ./configure script. The ./configure _is_ needed at some point, but our ebuilds do it in src_configure. And since "desauto" is part of the default top-level "make" target, we have to patch out the extra invocation. diff --git a/Makefile.in b/Makefile.in index 573f2bd..aa565f4 100644 --- a/Makefile.in +++ b/Makefile.in @@ -21,7 +21,7 @@ leonconv: desauto cd ./src; $(MAKE) CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"; desauto: - cd $(SRCDIR); autoreconf --install --force ; ./configure; $(MAKE) CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"; + cd $(SRCDIR); $(MAKE) CC="$(CC)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"; minimum-weight.o: $(CJSRCDIR)/minimum-weight.c $(CJSRCDIR)/minimum-weight-gf2.h $(CJSRCDIR)/minimum-weight-gf3.h $(CJSRCDIR)/popcount.h $(CJSRCDIR)/config.h $(CJSRCDIR)/types.h $(CC) -c -O3 -Wall -I $(CJSRCDIR) $(CJSRCDIR)/minimum-weight.c