From b70981b68efcce5256eb11c6cd26ae123b10b6ea Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 24 Jul 2009 08:01:31 +0000 Subject: moved extra/* to main/ and fixed misc build issues --- main/gdbm/30-gdbm-1.8.3-build.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 main/gdbm/30-gdbm-1.8.3-build.patch (limited to 'main/gdbm/30-gdbm-1.8.3-build.patch') diff --git a/main/gdbm/30-gdbm-1.8.3-build.patch b/main/gdbm/30-gdbm-1.8.3-build.patch new file mode 100644 index 000000000..084f5a1d2 --- /dev/null +++ b/main/gdbm/30-gdbm-1.8.3-build.patch @@ -0,0 +1,21 @@ +Respect system LDFLAGS when generating gdbm libs + +http://bugs.gentoo.org/209730 + +--- Makefile.in ++++ Makefile.in +@@ -146,12 +146,12 @@ + + libgdbm.la: $(LOBJS) gdbm.h + rm -f libgdbm.la +- $(LIBTOOL) --mode=link $(CC) -o libgdbm.la -rpath $(libdir) \ ++ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o libgdbm.la -rpath $(libdir) \ + -version-info $(SHLIB_VER) $(LOBJS) + + libgdbm_compat.la: $(C_LOBJS) gdbm.h libgdbm.la + rm -f libgdbm_compat.la +- $(LIBTOOL) --mode=link $(CC) -o libgdbm_compat.la -rpath $(libdir) \ ++ $(LIBTOOL) --mode=link $(CC) $(LDFLAGS) -o libgdbm_compat.la -rpath $(libdir) \ + -version-info $(SHLIB_VER) $(C_LOBJS) libgdbm.la + + gdbm.h: gdbm.proto gdbmerrno.h gdbm.proto2 -- cgit v1.2.3