summaryrefslogtreecommitdiff
path: root/comms/jsdr/files/patch-make-x64_spectrum-viewer_spectrum-viewer.pro
blob: 407f60b3d8b675fdb40bdf6b59daf99201ba5729 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- make-x64/spectrum-viewer/spectrum-viewer.pro.orig	2012-10-02 08:19:58 UTC
+++ make-x64/spectrum-viewer/spectrum-viewer.pro
@@ -83,10 +83,18 @@ LIBS += -lsamplerate
 #}
 
 #for fedora use the second set
-unix {  INCLUDEPATH += /usr/include/qwt
-	INCLUDEPATH += /usr/include/ 
-	INCLUDEPATH += /usr/local/include
-	LIBS+=  -lqwt -lusb-1.0 -lrt -lfftw3 -lsamplerate -ldl
+#unix {  INCLUDEPATH += /usr/include/qwt
+#	INCLUDEPATH += /usr/include/ 
+#	INCLUDEPATH += /usr/local/include
+#	LIBS+=  -lqwt -lusb-1.0 -lrt -lfftw3 -lsamplerate -ldl
+#}
+
+#for FreeBSD use the third set
+unix {  INCLUDEPATH += ${LOCALBASE}/include/qwt
+	INCLUDEPATH += ${LOCALBASE}/include
+	LIBS+=  -lqwt -lusb -lrt -lfftw3 -lsamplerate
+	target.path = $$INSTALL_ROOT/$$PREFIX/bin
+	INSTALLS += target
 }