summaryrefslogtreecommitdiff
path: root/x11/qwt-qt4/patches
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2009-11-24 19:22:32 +0000
committerdrochner <drochner@pkgsrc.org>2009-11-24 19:22:32 +0000
commita5d38f47d68a9fcfb6119e6d7e877928b33f9b03 (patch)
tree22dd38bb87630cf311826d32d3a93f8d591f1a44 /x11/qwt-qt4/patches
parent741104d35b00e25516366b6fcc8358903a0dea62 (diff)
downloadpkgsrc-a5d38f47d68a9fcfb6119e6d7e877928b33f9b03.tar.gz
add qwt-qt4-5.2.0 which is basically a copy of pkgsrc/x11/qwt (the qt3
pkg), just for qt4
Diffstat (limited to 'x11/qwt-qt4/patches')
-rw-r--r--x11/qwt-qt4/patches/patch-pri23
-rw-r--r--x11/qwt-qt4/patches/patch-srcpro19
2 files changed, 42 insertions, 0 deletions
diff --git a/x11/qwt-qt4/patches/patch-pri b/x11/qwt-qt4/patches/patch-pri
new file mode 100644
index 00000000000..4ae4a065a28
--- /dev/null
+++ b/x11/qwt-qt4/patches/patch-pri
@@ -0,0 +1,23 @@
+$NetBSD: patch-pri,v 1.1.1.1 2009/11/24 19:22:33 drochner Exp $
+
+--- qwtconfig.pri.orig 2009-03-22 16:41:05.000000000 +0100
++++ qwtconfig.pri
+@@ -8,7 +8,7 @@ VER_PAT = 0
+ VERSION = $${VER_MAJ}.$${VER_MIN}.$${VER_PAT}
+
+ unix {
+- INSTALLBASE = /usr/local/qwt-5.2.0
++ INSTALLBASE = $$(PREFIX)
+ }
+
+ win32 {
+@@ -17,7 +17,8 @@ win32 {
+
+ target.path = $$INSTALLBASE/lib
+ headers.path = $$INSTALLBASE/include
+-doc.path = $$INSTALLBASE/doc
++doc.path = $$INSTALLBASE/share/doc/qwt
++man.path = $$INSTALLBASE/${PKGMANDIR}
+
+ ######################################################################
+ # qmake internal options
diff --git a/x11/qwt-qt4/patches/patch-srcpro b/x11/qwt-qt4/patches/patch-srcpro
new file mode 100644
index 00000000000..cf4220373e8
--- /dev/null
+++ b/x11/qwt-qt4/patches/patch-srcpro
@@ -0,0 +1,19 @@
+$NetBSD: patch-srcpro,v 1.1.1.1 2009/11/24 19:22:33 drochner Exp $
+
+--- src/src.pro.orig 2009-03-22 16:41:05.000000000 +0100
++++ src/src.pro
+@@ -216,9 +216,10 @@ contains(CONFIG, QwtWidgets) {
+ # Install directives
+
+ headers.files = $$HEADERS
+-doc.files = $${QWT_ROOT}/doc/html $${QWT_ROOT}/doc/qwt-5.2.0.qch
+-unix {
+- doc.files += $${QWT_ROOT}/doc/man
+-}
++doc.files = $${QWT_ROOT}/doc/html/*
++man.files = $${QWT_ROOT}/doc/man/*
+
+ INSTALLS = target headers doc
++unix {
++ INSTALLS += man
++}