Files
gentoo/dev-gap/guava/files/guava-3.15-makefile.patch
Michael Orlitzky da786d0888 dev-gap/guava: add 3.19, drop 3.18
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
2024-06-13 21:30:02 -04:00

19 lines
1005 B
Diff

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