diff options
author | bsiegert <bsiegert@pkgsrc.org> | 2015-01-11 14:07:48 +0000 |
---|---|---|
committer | bsiegert <bsiegert@pkgsrc.org> | 2015-01-11 14:07:48 +0000 |
commit | e7c00a01a7fc018268a4dfc94e7cf8543c3065ca (patch) | |
tree | 0f0488551dff97fa022633f92c6276fb6a4aa781 /lang/python33 | |
parent | 42f9f3d4e2e1a5fcc31d5cdcf0763527dff10868 (diff) | |
download | pkgsrc-e7c00a01a7fc018268a4dfc94e7cf8543c3065ca.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/python33')
-rw-r--r-- | lang/python33/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/python33/Makefile b/lang/python33/Makefile index 2f590f87fc5..9095b4a2707 100644 --- a/lang/python33/Makefile +++ b/lang/python33/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 2015/01/06 09:51:51 he Exp $ +# $NetBSD: Makefile,v 1.29 2015/01/11 14:07:48 bsiegert Exp $ .include "dist.mk" @@ -77,6 +77,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" |