summaryrefslogtreecommitdiff
path: root/network/lxi-tools/src_gui_lxi-gui_Makefile.am.diff
blob: 777aec22cdfdd9ea05424efa7ab608344f896329 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- lxi-tools-1.19.orig/src/gui/lxi-gui/Makefile.am	2018-02-08 17:12:32.000000000 -0600
+++ lxi-tools-1.19/src/gui/lxi-gui/Makefile.am	2018-03-18 07:57:42.523615101 -0500
@@ -13,11 +13,12 @@
 QT_SELECT ?= 5
 
 Makefile.qmake: lxi-gui.pro
-	$(QTCHOOSER) -run-tool=qmake -qt=$(QT_SELECT) -makefile -o Makefile.qmake lxi-gui.pro \
+	$(QMAKE) -makefile -o Makefile.qmake lxi-gui.pro \
 		QT_INCDIR="$(SNAPCRAFT_STAGE)/$(includedir)" \
 		QT_LIBDIR="$(SNAPCRAFT_STAGE)/$(libdir)" \
 		SNAPCRAFT="$(SNAPCRAFT)" \
-		$(QMAKE_ARGUMENTS)
+		$(QMAKE_ARGUMENTS) \
+		LIBS="-lncurses"
 
 all-local: Makefile.qmake
 	$(MAKE) -f Makefile.qmake $(AM_MAKEFLAGS) all