Fri May 13 19:24:03 2022 UTC ()
python27: properly undo the isysroot change


(tnn)
diff -r1.101 -r1.102 pkgsrc/lang/python27/Makefile

cvs diff -r1.101 -r1.102 pkgsrc/lang/python27/Makefile (expand / switch to unified diff)

--- pkgsrc/lang/python27/Makefile 2022/05/13 18:42:05 1.101
+++ pkgsrc/lang/python27/Makefile 2022/05/13 19:24:02 1.102
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.101 2022/05/13 18:42:05 tnn Exp $ 1# $NetBSD: Makefile,v 1.102 2022/05/13 19:24:02 tnn Exp $
2 2
3.include "dist.mk" 3.include "dist.mk"
4 4
5PKGNAME= python27-${PY_DISTVERSION} 5PKGNAME= python27-${PY_DISTVERSION}
6PKGREVISION= 8 6PKGREVISION= 8
7CATEGORIES= lang python 7CATEGORIES= lang python
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://www.python.org/ 10HOMEPAGE= https://www.python.org/
11COMMENT= Interpreted, interactive, object-oriented programming language 11COMMENT= Interpreted, interactive, object-oriented programming language
12LICENSE= python-software-foundation 12LICENSE= python-software-foundation
13 13
14DEPENDS= mozilla-rootcerts>=1.0.20150804nb1:../../security/mozilla-rootcerts 14DEPENDS= mozilla-rootcerts>=1.0.20150804nb1:../../security/mozilla-rootcerts
@@ -94,27 +94,27 @@ PLIST_VARS+= dl dll extra-so nis qt @@ -94,27 +94,27 @@ PLIST_VARS+= dl dll extra-so nis qt
94.if empty(IS_64BIT_PLATFORM:M[yY][eE][sS]) 94.if empty(IS_64BIT_PLATFORM:M[yY][eE][sS])
95PLIST.dl= yes 95PLIST.dl= yes
96.endif 96.endif
97 97
98# setup.py causes some modules to be built if the platform is *not* 64bit. 98# setup.py causes some modules to be built if the platform is *not* 64bit.
99.if !empty(IS_64BIT_PLATFORM:M[nN][oO]) 99.if !empty(IS_64BIT_PLATFORM:M[nN][oO])
100PLIST.extra-so= yes 100PLIST.extra-so= yes
101.endif 101.endif
102 102
103# For Xcode 5 we need to search the SDK path for headers, otherwise certain 103# For Xcode 5 we need to search the SDK path for headers, otherwise certain
104# modules will not be built. 104# modules will not be built.
105.if ${OPSYS} == "Darwin" 105.if ${OPSYS} == "Darwin"
106. if exists(${OSX_SDK_PATH}/usr/include) 106. if exists(${OSX_SDK_PATH}/usr/include)
107CFLAGS+= -I${OSX_SDK_PATH:Q} 107CFLAGS+= -I${OSX_SDK_PATH:Q}/usr/include
108SUBST_CLASSES+= sdkpath 108SUBST_CLASSES+= sdkpath
109SUBST_STAGE.sdkpath= pre-configure 109SUBST_STAGE.sdkpath= pre-configure
110SUBST_FILES.sdkpath= Lib/distutils/unixccompiler.py 110SUBST_FILES.sdkpath= Lib/distutils/unixccompiler.py
111SUBST_VARS.sdkpath= OSX_SDK_PATH 111SUBST_VARS.sdkpath= OSX_SDK_PATH
112. endif 112. endif
113. if exists(${OSX_SDK_PATH}/System/Library/Frameworks/QuickTime.framework) 113. if exists(${OSX_SDK_PATH}/System/Library/Frameworks/QuickTime.framework)
114PLIST.qt= yes 114PLIST.qt= yes
115. endif 115. endif
116.endif 116.endif
117 117
118.if ${OPSYS} != "IRIX" 118.if ${OPSYS} != "IRIX"
119PLIST.dll= yes 119PLIST.dll= yes
120.endif 120.endif