aboutsummaryrefslogtreecommitdiffstats
path: root/main/gdbm/30-gdbm-1.8.3-build.patch
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@gmail.com>2009-07-27 06:39:43 +0000
committerLeonardo Arena <rnalrd@gmail.com>2009-07-27 06:39:43 +0000
commitc66164b230fc33d7a903bbd1da6f803c2cadd0e2 (patch)
tree5b2c145554a597182448ac64167be76fd904d392 /main/gdbm/30-gdbm-1.8.3-build.patch
parentaad5f530b5a45159e9420d654173345006bde998 (diff)
parentdb7bf56b641e8ebb35d6f24ca8bca0b3b9e45c19 (diff)
downloadaports-c66164b230fc33d7a903bbd1da6f803c2cadd0e2.tar.bz2
aports-c66164b230fc33d7a903bbd1da6f803c2cadd0e2.tar.xz
Merge branch 'master' of git://dev.alpinelinux.org/aports
Diffstat (limited to 'main/gdbm/30-gdbm-1.8.3-build.patch')
-rw-r--r--main/gdbm/30-gdbm-1.8.3-build.patch21
1 files changed, 21 insertions, 0 deletions
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 0000000000..084f5a1d24
--- /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