summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authordbj <dbj>2015-01-27 06:11:12 +0000
committerdbj <dbj>2015-01-27 06:11:12 +0000
commit2f25117a5b1d628c006bd442a531a196c4e9580e (patch)
tree8015be52b5d18907adf5f35a3298a023ba539c8b /x11
parent41ddc88fe4986904b85ecd43da73288496f7d2fa (diff)
downloadpkgsrc-2f25117a5b1d628c006bd442a531a196c4e9580e.tar.gz
don't assume native python installation on Darwin
Diffstat (limited to 'x11')
-rw-r--r--x11/py-qwt-qt4/distinfo3
-rw-r--r--x11/py-qwt-qt4/patches/patch-configure_configure.py15
2 files changed, 17 insertions, 1 deletions
diff --git a/x11/py-qwt-qt4/distinfo b/x11/py-qwt-qt4/distinfo
index 4fb42c424c4..4691a30e20b 100644
--- a/x11/py-qwt-qt4/distinfo
+++ b/x11/py-qwt-qt4/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2014/10/02 03:47:28 mef Exp $
+$NetBSD: distinfo,v 1.2 2015/01/27 06:11:12 dbj Exp $
SHA1 (PyQwt-5.2.0.tar.gz) = 797f37c63dec660272f6a8ccfd16a017df0ad640
RMD160 (PyQwt-5.2.0.tar.gz) = e4c8a63d623d974cd500e29fbc62255746ca7feb
Size (PyQwt-5.2.0.tar.gz) = 2670893 bytes
+SHA1 (patch-configure_configure.py) = 4fbae449cd80b7cf8ed3893ba1333b6fbbca17fc
diff --git a/x11/py-qwt-qt4/patches/patch-configure_configure.py b/x11/py-qwt-qt4/patches/patch-configure_configure.py
new file mode 100644
index 00000000000..a58ca658d8a
--- /dev/null
+++ b/x11/py-qwt-qt4/patches/patch-configure_configure.py
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure_configure.py,v 1.1 2015/01/27 06:11:12 dbj Exp $
+
+On pkgsrc, python is installed more like generic unix and less like Mac OS.
+
+--- configure/configure.py.orig 2009-08-01 07:28:33.000000000 +0000
++++ configure/configure.py
+@@ -155,8 +155,6 @@ def make_and_run_qt_program(name, code,
+ if sys.platform == "win32":
+ exe = os.path.join("release", name + ".exe")
+ make_target = " release"
+- elif sys.platform == "darwin":
+- exe = os.path.join(name + ".app", "Contents", "MacOS", name)
+ else:
+ exe = os.path.join(".", name)
+