[SCM] ir.lv2/master: Pass LDFLAGS to the linker.
alessio at users.alioth.debian.org
alessio at users.alioth.debian.org
Sun Jan 16 11:27:23 UTC 2011
The following commit has been merged in the master branch:
commit cfcb40a8f2bb97c1931031a5fb86a643c0399f69
Author: Alessio Treglia <alessio at debian.org>
Date: Sun Jan 16 12:27:07 2011 +0100
Pass LDFLAGS to the linker.
diff --git a/debian/patches/01-makefile.patch b/debian/patches/01-makefile.patch
index 9933939..a6ee42d 100644
--- a/debian/patches/01-makefile.patch
+++ b/debian/patches/01-makefile.patch
@@ -1,8 +1,14 @@
Description: Prepend DESTDIR to INSTALL_DIR and set it to /usr/lib/lv2.
+ Pass LDFLAGS to the linker.
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
+Reviewed-by: Alessio Treglia <alessio at debian.org>
Forwarded: no
---- a/Makefile 2011-01-13 14:25:59.000000000 +0100
-+++ b/Makefile 2011-01-14 09:23:31.000000000 +0100
+---
+ Makefile | 8 ++++----
+ 1 file changed, 4 insertions(+), 4 deletions(-)
+
+--- ir.lv2.orig/Makefile
++++ ir.lv2/Makefile
@@ -5,7 +5,7 @@
# (for local use, not installed by make install)
@@ -12,3 +18,20 @@ Forwarded: no
INST_FILES = ir.so ir_gui.so ir.ttl manifest.ttl
+@@ -41,13 +41,13 @@ ir_wavedisplay.o: ir_wavedisplay.cc ir_w
+ g++ ir_wavedisplay.cc $(CPPFLAGS) -c -fPIC -o ir_wavedisplay.o
+
+ ir.so: ir.o ir_utils.o
+- g++ ir.o ir_utils.o $(LIBS) -shared -o ir.so
++ g++ $(LDFLAGS) ir.o ir_utils.o $(LIBS) -shared -o ir.so
+
+ ir_gui.so: ir_gui.o ir_utils.o ir_meter.o ir_modeind.o ir_wavedisplay.o
+- g++ ir_gui.o ir_utils.o ir_meter.o ir_modeind.o ir_wavedisplay.o $(LIBS) -shared -o ir_gui.so
++ g++ $(LDFLAGS) ir_gui.o ir_utils.o ir_meter.o ir_modeind.o ir_wavedisplay.o $(LIBS) -shared -o ir_gui.so
+
+ convert4chan: convert4chan.c
+- gcc $(C4CFLAGS) convert4chan.c $(C4LIBS) -o convert4chan
++ gcc $(C4CFLAGS) $(LDFLAGS) convert4chan.c $(C4LIBS) -o convert4chan
+
+ install: all
+ mkdir -p $(INSTDIR)
--
ir.lv2 packaging
More information about the pkg-multimedia-commits
mailing list