cdparanoia: add patch for Makefile.in; replace strip by $(STRIP)
authorFrans Meulenbroeks <fransmeulenbroeks@yahoo.com>
Mon, 27 Mar 2006 21:16:43 +0000 (21:16 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Mon, 27 Mar 2006 21:16:43 +0000 (21:16 +0000)
packages/cdparanoia/cdparanoia_9.8alpha.bb
packages/cdparanoia/files/Makefile.patch [new file with mode: 0644]

index 9160fdd..4e9b00e 100644 (file)
@@ -2,11 +2,12 @@
 # Copyright (C) 2005, Advanced Micro Devices, Inc.  All Rights Reserved
 # Released under the MIT license (see packages/COPYING)
 
-PR="r1"
+PR="r2"
 LICENSE="GPL"
 
 SRC_URI="http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-alpha9.8.src.tgz \
-        file://fixes.patch;patch=1"
+        file://fixes.patch;patch=1 \
+        file://Makefile.patch;patch=1"
 
 S="${WORKDIR}/cdparanoia-III-alpha9.8"
 
diff --git a/packages/cdparanoia/files/Makefile.patch b/packages/cdparanoia/files/Makefile.patch
new file mode 100644 (file)
index 0000000..798ccf9
--- /dev/null
@@ -0,0 +1,19 @@
+*** cdparanoia-III-alpha9.8/Makefile.in-       Mon Mar 27 23:09:24 2006
+--- cdparanoia-III-alpha9.8/Makefile.in        Mon Mar 27 23:09:56 2006
+***************
+*** 44,50 ****
+       cd interface && $(MAKE) all
+       cd paranoia && $(MAKE) all
+       $(MAKE) cdparanoia CFLAGS="$(OPT)" 
+!      strip cdparanoia
+  
+  debug:  
+       cd interface && $(MAKE) debug
+--- 44,50 ----
+       cd interface && $(MAKE) all
+       cd paranoia && $(MAKE) all
+       $(MAKE) cdparanoia CFLAGS="$(OPT)" 
+!      $(STRIP) cdparanoia
+  
+  debug:  
+       cd interface && $(MAKE) debug