[SCM] drc/master: Fix makefile, install now works.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Wed Aug 17 08:17:03 UTC 2011


The following commit has been merged in the master branch:
commit 715724565515faba3e0eef1f49356892156ea67f
Author: Alessio Treglia <alessio at debian.org>
Date:   Wed Aug 17 10:17:55 2011 +0200

    Fix makefile, install now works.

diff --git a/debian/patches/01-makefile.patch b/debian/patches/01-makefile.patch
index 49dd47e..f9d9b62 100644
--- a/debian/patches/01-makefile.patch
+++ b/debian/patches/01-makefile.patch
@@ -1,7 +1,9 @@
-Index: drc/source/makefile
-===================================================================
---- drc.orig/source/makefile	2011-08-16 23:36:24.783460634 +0200
-+++ drc/source/makefile	2011-08-17 00:02:46.804049662 +0200
+---
+ source/makefile |   13 +++++++------
+ 1 file changed, 7 insertions(+), 6 deletions(-)
+
+--- drc.orig/source/makefile
++++ drc/source/makefile
 @@ -4,7 +4,7 @@
  VERSION=3.1.0
  
@@ -11,7 +13,7 @@ Index: drc/source/makefile
  
  # Compiler
  CC=gcc
-@@ -21,7 +21,7 @@
+@@ -21,7 +21,7 @@ CC=gcc
  
  # Pentium 3 or greater optimizaztions settings with SSE support
  # Be careful: -mfpmath=sse sometimes causes accuracy problems
@@ -20,7 +22,7 @@ Index: drc/source/makefile
  
  # Same as above, but tested on recent Mac OS X
  # Be careful: -mfpmath=sse sometimes causes accuracy problems
-@@ -85,7 +85,8 @@
+@@ -85,13 +85,14 @@ clean:
  	rm -f $(OBJS)
  
  install: $(CONFIG_TARGETS) $(TARGET_TARGETS) $(MIC_TARGETS) $(IMPULSE_TARGETS) $(DOC_TARGETS) $(BIN_TARGETS)
@@ -28,5 +30,14 @@ Index: drc/source/makefile
 +	install -d $(INSTALL_PREFIX)/bin/
 +	install $(BIN_TARGETS) $(INSTALL_PREFIX)/bin/
  	install -d $(INSTALL_PREFIX)/share/drc/config/
- 	install $(CONFIG_TARGETS) $(INSTALL_PREFIX)/share/drc/config/
+-	install $(CONFIG_TARGETS) $(INSTALL_PREFIX)/share/drc/config/
++	cp -ar -t $(INSTALL_PREFIX)/share/drc/config/ $(CONFIG_TARGETS)
  	install -d $(INSTALL_PREFIX)/share/drc/target/
+-	install $(TARGET_TARGETS) $(INSTALL_PREFIX)/share/drc/target/
++	cp -ar -t $(INSTALL_PREFIX)/share/drc/target/ $(TARGET_TARGETS)
+ 	install -d $(INSTALL_PREFIX)/share/drc/mic/
+-	install $(MIC_TARGETS) $(INSTALL_PREFIX)/share/drc/mic/
++	cp -ar -t $(INSTALL_PREFIX)/share/drc/mic/ $(MIC_TARGETS)
+ 	install -d $(INSTALL_PREFIX)/share/drc/impulse/
+ 	install $(IMPULSE_TARGETS) $(INSTALL_PREFIX)/share/drc/impulse/
+ 	install -d $(INSTALL_PREFIX)/share/drc/filter/

-- 
drc packaging



More information about the pkg-multimedia-commits mailing list