diff options
author | jperkin <jperkin> | 2014-03-10 23:14:35 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2014-03-10 23:14:35 +0000 |
commit | e512f7def15a135c3f4e32bb7fe7086f2c8fb054 (patch) | |
tree | 0835a9b7a5590f0e6a0623275352308f2b0248e2 /lang/python33 | |
parent | 986b1b4efd65819cf25a1c1669961097e22ab755 (diff) | |
download | pkgsrc-e512f7def15a135c3f4e32bb7fe7086f2c8fb054.tar.gz |
Force the use of clang on Snow Leopard, the llvm-backed gcc is unable to
compile Python 3.3 correctly, and as per http://bugs.python.org/issue13241
the Python developers are uninterested in fixing this.
Diffstat (limited to 'lang/python33')
-rw-r--r-- | lang/python33/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/python33/Makefile b/lang/python33/Makefile index 7d707e8ffaa..63b38de2edd 100644 --- a/lang/python33/Makefile +++ b/lang/python33/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.16 2014/02/12 23:18:05 tron Exp $ +# $NetBSD: Makefile,v 1.17 2014/03/10 23:14:35 jperkin Exp $ .include "dist.mk" @@ -30,6 +30,13 @@ PTHREAD_OPTS+= require .include "../../mk/bsd.prefs.mk" +# http://bugs.python.org/issue13241 +.if !empty(MACHINE_PLATFORM:MDarwin-10.*) +PKGSRC_COMPILER= clang +CC= clang +CXX= clang++ +.endif + # fdatasync() LIBS.SunOS+= -lrt |