summaryrefslogtreecommitdiff
path: root/x11/py-qwt-qt4/patches/patch-configure_configure.py
blob: a58ca658d8a9e8f1e255a0b12b1b30e4f9938320 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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)