void-packages/srcpkgs/recoll/patches/qt-cross.patch

26 lines
567 B
Diff

--- qtgui/recoll.pro.in 2017-07-01 08:16:34.000000000 +0200
+++ qtgui/recoll.pro.in 2017-12-17 14:56:27.433648300 +0100
@@ -1,6 +1,13 @@
TEMPLATE = app
LANGUAGE = C++
+QMAKE_CC = @CC@
+QMAKE_CXX = @CXX@
+QMAKE_LINK = @CXX@
+QMAKE_CFLAGS = @CFLAGS@
+QMAKE_CXXFLAGS = @CXXFLAGS@
+QMAKE_LFLAGS = @LDFLAGS@
+
VPATH = @srcdir@
DEFINES += BUILDING_RECOLL
@@ -160,7 +167,7 @@
unix {
isEmpty(PREFIX) {
- PREFIX = /usr/local
+ PREFIX = /usr
}
message("Prefix is $$PREFIX")
DEFINES += PREFIX=\\\"$$PREFIX\\\"