summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTuan Van <langthang@gentoo.org>2006-04-06 00:54:50 +0000
committerTuan Van <langthang@gentoo.org>2006-04-06 00:54:50 +0000
commit57382691fb49c18ece6657138aef8e0c3afeadb2 (patch)
treea08daa5cc2760a19a59aae88aa855f73b0a8fd03 /net-libs/liblockfile/files/liblockfile-1.06-respectflags.patch
parentCleanup of old KDE 3.5.0 and 3.5.1 ebuild.s (diff)
downloadgentoo-2-57382691fb49c18ece6657138aef8e0c3afeadb2.tar.gz
gentoo-2-57382691fb49c18ece6657138aef8e0c3afeadb2.tar.bz2
gentoo-2-57382691fb49c18ece6657138aef8e0c3afeadb2.zip
respect LDFLAGS. Bug #126827 by Diego Pettenò <flameeyes@gentoo.org>
(Portage version: 2.1_pre7-r4)
Diffstat (limited to 'net-libs/liblockfile/files/liblockfile-1.06-respectflags.patch')
-rw-r--r--net-libs/liblockfile/files/liblockfile-1.06-respectflags.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/net-libs/liblockfile/files/liblockfile-1.06-respectflags.patch b/net-libs/liblockfile/files/liblockfile-1.06-respectflags.patch
new file mode 100644
index 000000000000..1a8d0eb18cbe
--- /dev/null
+++ b/net-libs/liblockfile/files/liblockfile-1.06-respectflags.patch
@@ -0,0 +1,18 @@
+Index: liblockfile-1.06/Makefile.in
+===================================================================
+--- liblockfile-1.06.orig/Makefile.in
++++ liblockfile-1.06/Makefile.in
+@@ -32,11 +32,11 @@ liblockfile.a: lockfile.o
+ ar rv liblockfile.a lockfile.o
+
+ liblockfile.so: liblockfile.a
+- $(CC) -fPIC -shared -Wl,-soname,liblockfile.so.1 \
++ $(CC) $(LDFLAGS) -fPIC -shared -Wl,-soname,liblockfile.so.1 \
+ -o liblockfile.so lockfile.o -lc
+
+ nfslock.so.$(VER): nfslock.o
+- $(CC) -fPIC -shared -Wl,-soname,nfslock.so.0 \
++ $(CC) $(LDFLAGS) -fPIC -shared -Wl,-soname,nfslock.so.0 \
+ -o nfslock.so.$(NVER) nfslock.o
+
+ dotlockfile: dotlockfile.o xlockfile.o