Package: music
Severity: normal
Tags: patch

Hi Mikael,

the attached patch fixes the bug. This would allow openmpi to
drop all .la files.

Best regards,
Manuel

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -pruN music-1.0.7.orig//debian/rules music-1.0.7/debian/rules
--- music-1.0.7.orig//debian/rules	2011-05-26 22:15:25.000000000 +0200
+++ music-1.0.7/debian/rules	2011-05-26 22:15:37.000000000 +0200
@@ -67,6 +67,9 @@ install: build
 
 	$(MAKE) DESTDIR=$(CURDIR)/debian/tmp install
 
+# Empty dependency_libs in .la files
+	find $(CURDIR)/debian/tmp -type f -a -name '*.la' -exec sed -i "s,^dependency_libs=.*,dependency_libs=''," '{}' \;
+
 # Remove rpaths in libraries and binaries
 	( cd $(CURDIR)/debian/tmp/usr/lib; chrpath -d libmusic.so libmusic-c.so )
 	( cd $(CURDIR)/debian/tmp/usr/bin; chrpath -d eventcounter eventgenerator eventlogger eventselect eventsink eventsource music viewevents )

Reply via email to