Source: linpsk
Version: 1.3.5-1.1
Tags: patch upstream
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

linpsk fails to cross build from source, because the upstream .pro file
hard codes the build architecture pkg-config instead of using the
pkg-config integration provided by qmake. Please consider applying the
attached patch to fix that.

Helmut
--- linpsk-1.3.5.orig/linpsk.pro
+++ linpsk-1.3.5/linpsk.pro
@@ -35,7 +35,7 @@
 LIBS += -lasound -lfftw3
 
 message(LinPSK builds with hamlib)
-LIBS +=$$system("pkg-config --libs hamlib")
+PKGCONFIG += hamlib
 DEFINES += WITH_HAMLIB
 HEADERS +=src/rigcontrol.h
 SOURCES +=src/rigcontrol.cpp

Reply via email to