summaryrefslogtreecommitdiff
path: root/lang/python25/patches/patch-am
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python25/patches/patch-am')
-rw-r--r--lang/python25/patches/patch-am4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/python25/patches/patch-am b/lang/python25/patches/patch-am
index e8a631a9718..62255982606 100644
--- a/lang/python25/patches/patch-am
+++ b/lang/python25/patches/patch-am
@@ -1,4 +1,4 @@
-$NetBSD: patch-am,v 1.9 2011/10/31 06:50:54 sbd Exp $
+$NetBSD: patch-am,v 1.10 2011/11/08 07:30:08 sbd Exp $
--- setup.py.orig 2008-10-16 18:58:19.000000000 +0000
+++ setup.py
@@ -360,7 +360,7 @@ $NetBSD: patch-am,v 1.9 2011/10/31 06:50:54 sbd Exp $
+ for dir in dirs:
+ f = os.path.join(dir, 'ndbm.h')
+ if sys.platform == 'darwin' and is_macosx_sdk_path(dir):
-+ f = os.path.join(sysroot, dir[1:], filename)
++ f = os.path.join(sysroot, dir[1:], 'ndbm.h')
+ if not os.path.exists(f): continue
+
+ ret = 'True'