Tue Jan 27 06:11:12 2015 UTC ()
don't assume native python installation on Darwin
(dbj)
diff -r1.1 -r1.2 pkgsrc/x11/py-qwt-qt4/distinfo
diff -r0 -r1.1 pkgsrc/x11/py-qwt-qt4/patches/patch-configure_configure.py
--- pkgsrc/x11/py-qwt-qt4/Attic/distinfo 2014/10/02 03:47:28 1.1
+++ pkgsrc/x11/py-qwt-qt4/Attic/distinfo 2015/01/27 06:11:12 1.2
| @@ -1,5 +1,6 @@ | | | @@ -1,5 +1,6 @@ |
1 | $NetBSD: distinfo,v 1.1 2014/10/02 03:47:28 mef Exp $ | | 1 | $NetBSD: distinfo,v 1.2 2015/01/27 06:11:12 dbj Exp $ |
2 | | | 2 | |
3 | SHA1 (PyQwt-5.2.0.tar.gz) = 797f37c63dec660272f6a8ccfd16a017df0ad640 | | 3 | SHA1 (PyQwt-5.2.0.tar.gz) = 797f37c63dec660272f6a8ccfd16a017df0ad640 |
4 | RMD160 (PyQwt-5.2.0.tar.gz) = e4c8a63d623d974cd500e29fbc62255746ca7feb | | 4 | RMD160 (PyQwt-5.2.0.tar.gz) = e4c8a63d623d974cd500e29fbc62255746ca7feb |
5 | Size (PyQwt-5.2.0.tar.gz) = 2670893 bytes | | 5 | Size (PyQwt-5.2.0.tar.gz) = 2670893 bytes |
| | | 6 | SHA1 (patch-configure_configure.py) = 4fbae449cd80b7cf8ed3893ba1333b6fbbca17fc |
$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)