| @@ -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 | |
5 | PKGNAME= python27-${PY_DISTVERSION} | | 5 | PKGNAME= python27-${PY_DISTVERSION} |
6 | PKGREVISION= 8 | | 6 | PKGREVISION= 8 |
7 | CATEGORIES= lang python | | 7 | CATEGORIES= lang python |
8 | | | 8 | |
9 | MAINTAINER= pkgsrc-users@NetBSD.org | | 9 | MAINTAINER= pkgsrc-users@NetBSD.org |
10 | HOMEPAGE= https://www.python.org/ | | 10 | HOMEPAGE= https://www.python.org/ |
11 | COMMENT= Interpreted, interactive, object-oriented programming language | | 11 | COMMENT= Interpreted, interactive, object-oriented programming language |
12 | LICENSE= python-software-foundation | | 12 | LICENSE= python-software-foundation |
13 | | | 13 | |
14 | DEPENDS= mozilla-rootcerts>=1.0.20150804nb1:../../security/mozilla-rootcerts | | 14 | DEPENDS= 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]) |
95 | PLIST.dl= yes | | 95 | PLIST.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]) |
100 | PLIST.extra-so= yes | | 100 | PLIST.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) |
107 | CFLAGS+= -I${OSX_SDK_PATH:Q} | | 107 | CFLAGS+= -I${OSX_SDK_PATH:Q}/usr/include |
108 | SUBST_CLASSES+= sdkpath | | 108 | SUBST_CLASSES+= sdkpath |
109 | SUBST_STAGE.sdkpath= pre-configure | | 109 | SUBST_STAGE.sdkpath= pre-configure |
110 | SUBST_FILES.sdkpath= Lib/distutils/unixccompiler.py | | 110 | SUBST_FILES.sdkpath= Lib/distutils/unixccompiler.py |
111 | SUBST_VARS.sdkpath= OSX_SDK_PATH | | 111 | SUBST_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) |
114 | PLIST.qt= yes | | 114 | PLIST.qt= yes |
115 | . endif | | 115 | . endif |
116 | .endif | | 116 | .endif |
117 | | | 117 | |
118 | .if ${OPSYS} != "IRIX" | | 118 | .if ${OPSYS} != "IRIX" |
119 | PLIST.dll= yes | | 119 | PLIST.dll= yes |
120 | .endif | | 120 | .endif |