When cross-compiling one wishes to separate architecture-independent data from
the binary executables. Currently the texmaker .pro file installs the
'texmaker' executable to PREFIX. We add a patch which makes this configurable,
with EPREFIX, the executable prefix. This is a common notation for supporting
this kind of functionality. The patch below fixes it.
Author: Thomas Anderson <tanderson@exherbo.org>
diff -aur texmaker-4.1.1-orig/texmaker.pro texmaker-4.1.1/texmaker.pro
--- texmaker-4.1.1-orig/texmaker.pro 2014-01-02 06:38:49.000000000 -0800
+++ texmaker-4.1.1/texmaker.pro 2015-06-12 18:08:57.245387689 -0700
@@ -312,6 +312,9 @@
isEmpty( PREFIX ) {
PREFIX=/usr
}
+isEmpty( EPREFIX ) {
+ EPREFIX=$${PREFIX}
+}
isEmpty( DESKTOPDIR ) {
DESKTOPDIR=/usr/share/applications
}
@@ -324,7 +327,7 @@
LIBS += -lz
-target.path = $${PREFIX}/bin
+target.path = $${EPREFIX}/bin
utilities.path = $${PREFIX}/share/texmaker
desktop.path = $${DESKTOPDIR}
icon.path = $${ICONDIR}
Original issue reported on code.google.com by t...@njit.edu on 13 Jun 2015 at 1:14
Original issue reported on code.google.com by
t...@njit.edu
on 13 Jun 2015 at 1:14