summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-18 20:29:29 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-18 20:29:29 +0000
commitda70129c0ccfd326276f7b822a15385245b811b4 (patch)
treea18e4c01f889f0b1cf25455cd3909cb65ad90481 /media-libs/libmatroska/files
parentAdd patch to respect LDFLAGS and CXX. (diff)
downloadgentoo-2-da70129c0ccfd326276f7b822a15385245b811b4.tar.gz
gentoo-2-da70129c0ccfd326276f7b822a15385245b811b4.tar.bz2
gentoo-2-da70129c0ccfd326276f7b822a15385245b811b4.zip
Add patch to respect LDFLAGS and CXX.
(Portage version: 2.1_pre6-r3)
Diffstat (limited to 'media-libs/libmatroska/files')
-rw-r--r--media-libs/libmatroska/files/libmatroska-0.8.0-respectflags.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/media-libs/libmatroska/files/libmatroska-0.8.0-respectflags.patch b/media-libs/libmatroska/files/libmatroska-0.8.0-respectflags.patch
new file mode 100644
index 000000000000..dcf9de4fbffb
--- /dev/null
+++ b/media-libs/libmatroska/files/libmatroska-0.8.0-respectflags.patch
@@ -0,0 +1,13 @@
+Index: libmatroska-0.8.0/make/linux/Makefile
+===================================================================
+--- libmatroska-0.8.0.orig/make/linux/Makefile
++++ libmatroska-0.8.0/make/linux/Makefile
+@@ -102,7 +102,7 @@ $(LIBRARY): $(objects)
+ $(RANLIB) $@
+
+ $(LIBRARY_SO): $(objects_so)
+- $(CXX) -shared -Wl,-soname,$(LIBRARY_SO_VER) -o $(LIBRARY_SO_VER) $(objects_so) -lebml
++ $(CXX) $(LINKFLAGS) -shared -Wl,-soname,$(LIBRARY_SO_VER) -o $(LIBRARY_SO_VER) $(objects_so) -lebml
+ ln -s $(LIBRARY_SO_VER) $(LIBRARY_SO)
+
+ clean: cleantest