patch-libjava_Makefile_in 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. $OpenBSD: patch-libjava_Makefile_in,v 1.1.1.1 2014/06/26 16:30:17 pascal Exp $
  2. work around gcj-dbtool hanging during build
  3. --- libjava/Makefile.in.orig Sun Feb 9 23:32:51 2014
  4. +++ libjava/Makefile.in Fri Feb 14 20:24:55 2014
  5. @@ -1055,12 +1055,13 @@ AM_CPPFLAGS = -I$(top_srcdir) \
  6. $(GCINCS) $(THREADINCS) $(INCLTDL) \
  7. $(LIBGCC_UNWIND_INCLUDE) $(ZINCS) $(LIBFFIINCS)
  8. +include $(top_srcdir)/../libversions
  9. BOOTCLASSPATH = $(srcdir)/classpath/lib
  10. libgij_la_SOURCES = gij.cc
  11. libgij_la_DEPENDENCIES = libgcj.la libgcj.spec $(am__append_10)
  12. libgij_la_LIBADD = -L$(here)/.libs libgcj.la
  13. libgij_la_LDFLAGS = -rpath $(toolexeclibdir) $(LIBJAVA_LDFLAGS_NOUNDEF) \
  14. - -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LIBGCJ_LD_SYMBOLIC)
  15. + $(LIBgij_LTVERSION) $(LIBGCJ_LD_SYMBOLIC)
  16. libgij_la_LINK = $(CXXLINK) $(libgij_la_LDFLAGS)
  17. @INTERPRETER_FALSE@libgcj_interpret_source_files =
  18. @@ -1079,7 +1080,7 @@ xlib_nat_files = $(xlib_nat_source_files:.cc=.lo)
  19. # certain linuxthread functions get linked:
  20. libgcj_la_LDFLAGS = -rpath $(toolexeclibdir) $(THREADLDFLAGS) $(extra_ldflags) $(THREADLIBS) \
  21. $(LIBLTDL) $(SYS_ZLIBS) $(LIBJAVA_LDFLAGS_NOUNDEF) \
  22. - -version-info `grep -v '^\#' $(srcdir)/libtool-version` \
  23. + $(LIBgcj_LTVERSION) \
  24. $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS) $(LIBGCJ_LD_EXPORT_ALL)
  25. libgcj_la_LIBADD = \
  26. @@ -1121,7 +1122,7 @@ libgcj_tools_la_GCJFLAGS = $(AM_GCJFLAGS) -findirect-d
  27. -fsource-filename=$(here)/classpath/tools/all-classes.lst
  28. libgcj_tools_la_LDFLAGS = -rpath $(toolexeclibdir) \
  29. - -version-info `grep -v '^\#' $(srcdir)/libtool-version` \
  30. + $(LIBgcj-tools_LTVERSION) \
  31. $(LIBGCJ_LD_SYMBOLIC_FUNCTIONS) $(LIBJAVA_LDFLAGS_NOUNDEF) \
  32. $(LIBJAVA_LDFLAGS_LIBMATH)