diff options
author | bsiegert <bsiegert> | 2015-01-11 14:07:48 +0000 |
---|---|---|
committer | bsiegert <bsiegert> | 2015-01-11 14:07:48 +0000 |
commit | dee5f2fbafc5f231011d9d68cf0f151fe278fa67 (patch) | |
tree | 0f0488551dff97fa022633f92c6276fb6a4aa781 /lang/python34 | |
parent | 0282fd95477e869749086136340ae91bebd91848 (diff) | |
download | pkgsrc-dee5f2fbafc5f231011d9d68cf0f151fe278fa67.tar.gz |
Make python33 and 34 build under Mac OS X by copying over compat hack from
python27. From J. Lewis Muir.
Note that the correct way to solve this is to do this in the Darwin
specific config files, but until that has landed, this at least fixes the
build.
Diffstat (limited to 'lang/python34')
-rw-r--r-- | lang/python34/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/python34/Makefile b/lang/python34/Makefile index 4e488f22edf..5840d980209 100644 --- a/lang/python34/Makefile +++ b/lang/python34/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2014/10/09 09:15:38 adam Exp $ +# $NetBSD: Makefile,v 1.8 2015/01/11 14:07:48 bsiegert Exp $ .include "dist.mk" @@ -76,6 +76,12 @@ PLIST.oss= yes INSTALL_UNSTRIPPED= yes .endif +# For Xcode 5 and up, we need to search the SDK path for headers, otherwise +# certain modules will not be built. +.if ${OPSYS} == "Darwin" && exists(${OSX_SDK_PATH}/usr/include) +CFLAGS+= -I${OSX_SDK_PATH}/usr/include +.endif + PLIST_VARS+= bsddb dll nis no-nis .if ${OPSYS} == "IRIX" . if ${ABI} == "64" |