aboutsummaryrefslogtreecommitdiff
path: root/libraries/qwtpolar/qwtpolar-1.1.1-qt_paths.patch
diff options
context:
space:
mode:
authorChristoph Willing <chris.willing@linux.com>2015-10-09 23:30:33 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-10-09 23:30:33 +0700
commit9d6d9b1a9dc000954f00263f1ba47e897b6d5989 (patch)
tree9d85e6f3f6e779b5529807b15c87d21424d6cfeb /libraries/qwtpolar/qwtpolar-1.1.1-qt_paths.patch
parent28f63772025fbf96acad23a5e9962a77ce02ca45 (diff)
libraries/qwtpolar: Added (Qwt/Qt Polar Plot Library).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/qwtpolar/qwtpolar-1.1.1-qt_paths.patch')
-rw-r--r--libraries/qwtpolar/qwtpolar-1.1.1-qt_paths.patch54
1 files changed, 54 insertions, 0 deletions
diff --git a/libraries/qwtpolar/qwtpolar-1.1.1-qt_paths.patch b/libraries/qwtpolar/qwtpolar-1.1.1-qt_paths.patch
new file mode 100644
index 0000000000000..3458078b66337
--- /dev/null
+++ b/libraries/qwtpolar/qwtpolar-1.1.1-qt_paths.patch
@@ -0,0 +1,54 @@
+--- a/qwtpolarbuild.pri 2014-09-19 20:28:24.314002267 +1000
++++ b/qwtpolarbuild.pri 2015-09-25 16:41:20.445026649 +1000
+@@ -13,7 +13,7 @@
+ CONFIG += qt
+ CONFIG += warn_on
+ CONFIG += no_keywords
+-CONFIG += silent
++#CONFIG += silent
+
+ CONFIG += qwt
+
+--- a/qwtpolarconfig.pri 2014-09-19 20:28:24.318002267 +1000
++++ b/qwtpolarconfig.pri 2015-09-25 16:45:43.466042709 +1000
+@@ -16,23 +16,19 @@
+ QWT_POLAR_VERSION = $${QWT_POLAR_VER_MAJ}.$${QWT_POLAR_VER_MIN}.$${QWT_POLAR_VER_PAT}
+
+ unix {
+- QWT_POLAR_INSTALL_PREFIX = /usr/local/qwtpolar-$$QWT_POLAR_VERSION
++ QWT_POLAR_INSTALL_PREFIX = /usr
+ }
+
+-win32 {
+- QWT_POLAR_INSTALL_PREFIX = C:/QwtPolar-$$QWT_POLAR_VERSION
+-}
+-
+-QWT_POLAR_INSTALL_DOCS = $${QWT_POLAR_INSTALL_PREFIX}/doc
+-QWT_POLAR_INSTALL_HEADERS = $${QWT_POLAR_INSTALL_PREFIX}/include
+-QWT_POLAR_INSTALL_LIBS = $${QWT_POLAR_INSTALL_PREFIX}/lib
++QWT_POLAR_INSTALL_DOCS = $${QWT_POLAR_INSTALL_PREFIX}/doc/qwtpolar-$${QWT_POLAR_VERSION}
++QWT_POLAR_INSTALL_HEADERS = $${QWT_POLAR_INSTALL_PREFIX}/include/qwt
++QWT_POLAR_INSTALL_LIBS = $${QWT_POLAR_INSTALL_PREFIX}/lib$${LIBDIRSUFFIX}
+
+ ######################################################################
+ # Designer plugin
+ ######################################################################
+
+-QWT_POLAR_INSTALL_PLUGINS = $${QWT_POLAR_INSTALL_PREFIX}/plugins/designer
+-# QWT_POLAR_INSTALL_PLUGINS = $${QT_INSTALL_PREFIX}/plugins/designer
++#QWT_POLAR_INSTALL_PLUGINS = $${QWT_POLAR_INSTALL_PREFIX}/plugins/designer
++QWT_POLAR_INSTALL_PLUGINS = $$[QT_INSTALL_PLUGINS]/designer
+
+ ######################################################################
+ # Build the static/shared libraries.
+@@ -61,8 +57,8 @@
+ # with every Qt upgrade.
+ ######################################################################
+
+-QWT_POLAR_INSTALL_FEATURES = $${QWT_POLAR_INSTALL_PREFIX}/features
+-# QWT_INSTALL_FEATURES = $${QT_INSTALL_PREFIX}/features
++#QWT_POLAR_INSTALL_FEATURES = $${QWT_POLAR_INSTALL_PREFIX}/features
++QWT_POLAR_INSTALL_FEATURES = $$[QMAKE_MKSPECS]/features
+
+ ######################################################################
+ # If you want to build the QwtPolar designer plugin,