summaryrefslogtreecommitdiff
path: root/math/qtiplot/files/patch-fitPlugins__fitRational0__fitRational0.pro
blob: a9aef9e6c7384c010171f536dbc6215d19d2455c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ./fitPlugins/fitRational0/fitRational0.pro.orig	2009-03-05 15:56:56.000000000 +0300
+++ ./fitPlugins/fitRational0/fitRational0.pro	2009-03-26 23:11:59.000000000 +0300
@@ -12,14 +12,13 @@
 DESTDIR           = ../
  
 # statically link against GSL in 3rdparty
-INCLUDEPATH += ../../3rdparty/gsl/include/
-LIBS        += ../../3rdparty/gsl/lib/libgsl.a
-LIBS        += ../../3rdparty/gsl/lib/libgslcblas.a
+unix:INCLUDEPATH += $$(LOCALBASE)/include
+unix:LIBS        += -lgsl -lgslcblas
 
 #dynamically link against GSL installed system-wide
 #unix:LIBS += -L /usr/lib$${libsuff} -lgsl -lgslcblas
 
-target.path=/usr/lib$${libsuff}/qtiplot/plugins
+target.path=$$PREFIX/share/qtiplot/fitPlugins
 INSTALLS += target
 
 SOURCES += fitRational0.cpp