[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#652192: [patch] wsjt: FTBFS: gfortran: error: portaudio-v19/lib/.libs/libportaudio.a: No such file or directory



tags 652192 patch
thanks

Hi,

 I made a patch for this, built fine with it.
 Please check it, thanks.


-- 
Regards,

 Hideki Yamane     henrich @ debian.or.jp/org
 http://wiki.debian.org/HidekiYamane
diff -u wsjt-5.9.7.r383/debian/rules wsjt-5.9.7.r383/debian/rules
--- wsjt-5.9.7.r383/debian/rules
+++ wsjt-5.9.7.r383/debian/rules
@@ -4,10 +4,13 @@
 
 unexport LDFLAGS
 
+DEB_HOST_MULTIARCH  ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
+
 build: build-stamp
 build-stamp: patch-stamp
 	dh_testdir
-	F77=gfortran ./configure --prefix=/usr --enable-portaudio --enable-gfortran --with-portaudio-include-dir=/usr/include --with-portaudio-lib-dir=/usr/lib
+	F77=gfortran ./configure --prefix=/usr --enable-portaudio --enable-gfortran --with-portaudio-include-dir=/usr/include \
+                                 --with-portaudio-lib-dir=/usr/lib/$(DEB_HOST_MULTIARCH)
 	$(MAKE) 
 	touch build-stamp
 
diff -u wsjt-5.9.7.r383/debian/changelog wsjt-5.9.7.r383/debian/changelog
--- wsjt-5.9.7.r383/debian/changelog
+++ wsjt-5.9.7.r383/debian/changelog
@@ -1,3 +1,11 @@
+wsjt (5.9.7.r383-1.6) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * debian/rules
+    - adjust library path for multiarch
+
+ -- Hideki Yamane <henrich@debian.org>  Sat, 31 Dec 2011 10:41:50 +0900
+
 wsjt (5.9.7.r383-1.5) unstable; urgency=low
 
   * Non-maintainer upload.

Reply to: