Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/pkgsrc/lang/python27/Makefile,v rcsdiff: /ftp/cvs/cvsroot/pkgsrc/lang/python27/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.31 retrieving revision 1.33 diff -u -p -r1.31 -r1.33 --- pkgsrc/lang/python27/Makefile 2013/11/10 12:12:32 1.31 +++ pkgsrc/lang/python27/Makefile 2013/12/12 11:34:23 1.33 @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.31 2013/11/10 12:12:32 obache Exp $ +# $NetBSD: Makefile,v 1.33 2013/12/12 11:34:23 jperkin Exp $ .include "dist.mk" PKGNAME= python27-${PY_DISTVERSION} -PKGREVISION= 4 CATEGORIES= lang python MAINTAINER= pkgsrc-users@NetBSD.org @@ -115,6 +114,12 @@ PLIST.extra-so= yes INSTALL_UNSTRIPPED= yes .endif +# For Xcode 5 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+= dll nis no-nis .if ${OPSYS} == "IRIX" . if ${ABI} == "64"