Source: texmaker
Version: 5.0.2-2.1
Tags: patch upstream
User: helm...@debian.org
Usertags: rebootstrap

texmaker fails to cross build from source, because texmaker.pro hard
codes the build architecture pkg-config and thus fails finding
synctex.pc. The attached patch fixes that and makes texmaker cross
buildable. Please consider applying it.

Helmut
--- texmaker-5.0.2.orig/texmaker.pro
+++ texmaker-5.0.2/texmaker.pro
@@ -1066,7 +1066,7 @@
 #not for openSUSE :
 metainfo.path = $${METAINFODIR}
 
-LIBS += $$system(pkg-config --libs synctex)
+LIBS += $$system($$pkgConfigExecutable() --libs synctex)
 
 DEFINES += DEBIAN_SPELLDIR
 

Reply via email to