| @@ -1,225 +1,232 @@ | | | @@ -1,225 +1,232 @@ |
1 | # $NetBSD: Makefile,v 1.77 2019/03/05 12:43:40 adam Exp $ | | 1 | # $NetBSD: Makefile,v 1.78 2019/03/26 16:12:28 gdt Exp $ |
2 | | | 2 | |
3 | .include "dist.mk" | | 3 | .include "dist.mk" |
4 | | | 4 | |
5 | PKGNAME= python27-${PY_DISTVERSION} | | 5 | PKGNAME= python27-${PY_DISTVERSION} |
6 | CATEGORIES= lang python | | 6 | CATEGORIES= lang python |
7 | | | 7 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 8 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://www.python.org/ | | 9 | HOMEPAGE= https://www.python.org/ |
10 | COMMENT= Interpreted, interactive, object-oriented programming language | | 10 | COMMENT= Interpreted, interactive, object-oriented programming language |
11 | LICENSE= python-software-foundation | | 11 | LICENSE= python-software-foundation |
12 | | | 12 | |
13 | DEPENDS= mozilla-rootcerts>=1.0.20150804nb1:../../security/mozilla-rootcerts | | 13 | DEPENDS= mozilla-rootcerts>=1.0.20150804nb1:../../security/mozilla-rootcerts |
14 | | | 14 | |
15 | CONFLICTS+= python-[0-9]* | | 15 | CONFLICTS+= python-[0-9]* |
16 | | | 16 | |
17 | USE_LANGUAGES= c c++ | | 17 | USE_LANGUAGES= c c++ |
18 | GNU_CONFIGURE= yes | | 18 | GNU_CONFIGURE= yes |
19 | CONFIGURE_ARGS+= --enable-shared | | 19 | CONFIGURE_ARGS+= --enable-shared |
20 | CONFIGURE_ARGS+= --with-dbmliborder=ndbm:bdb | | 20 | CONFIGURE_ARGS+= --with-dbmliborder=ndbm:bdb |
21 | CONFIGURE_ARGS+= --with-system-ffi | | 21 | CONFIGURE_ARGS+= --with-system-ffi |
22 | CONFIGURE_ARGS+= --with-threads | | 22 | CONFIGURE_ARGS+= --with-threads |
23 | CONFIGURE_ENV+= MKDIR_P=${MKDIR:Q} | | 23 | CONFIGURE_ENV+= MKDIR_P=${MKDIR:Q} |
24 | CONFIGURE_ENV+= OPT=${CFLAGS:M*:Q} | | 24 | CONFIGURE_ENV+= OPT=${CFLAGS:M*:Q} |
25 | PKGCONFIG_OVERRIDE+= Misc/python.pc.in | | 25 | PKGCONFIG_OVERRIDE+= Misc/python.pc.in |
26 | | | 26 | |
27 | LDFLAGS+= -L${WRKSRC} | | 27 | LDFLAGS+= -L${WRKSRC} |
28 | | | 28 | |
29 | # $RANDOM usage there is fine | | 29 | # $RANDOM usage there is fine |
30 | CHECK_PORTABILITY_SKIP= Tools/faqwiz/move-faqwiz.sh | | 30 | CHECK_PORTABILITY_SKIP= Tools/faqwiz/move-faqwiz.sh |
31 | | | 31 | |
32 | PTHREAD_OPTS+= require | | 32 | PTHREAD_OPTS+= require |
33 | PTHREAD_AUTO_VARS= yes | | 33 | PTHREAD_AUTO_VARS= yes |
34 | .include "../../mk/pthread.buildlink3.mk" | | 34 | .include "../../mk/pthread.buildlink3.mk" |
35 | .if ${PTHREAD_TYPE} == "pth" | | 35 | .if ${PTHREAD_TYPE} == "pth" |
36 | CONFIGURE_ARGS+= --with-pth | | 36 | CONFIGURE_ARGS+= --with-pth |
37 | .endif | | 37 | .endif |
38 | | | 38 | |
39 | .include "../../mk/compiler.mk" | | 39 | .include "../../mk/compiler.mk" |
40 | | | 40 | |
41 | # Clang needs -fwrapv | | 41 | # Clang needs -fwrapv |
42 | .if !empty(PKGSRC_COMPILER:Mclang) | | 42 | .if !empty(PKGSRC_COMPILER:Mclang) |
43 | CFLAGS+= -fwrapv | | 43 | CFLAGS+= -fwrapv |
44 | .endif | | 44 | .endif |
45 | | | 45 | |
46 | .include "../../mk/bsd.prefs.mk" | | 46 | .include "../../mk/bsd.prefs.mk" |
47 | | | 47 | |
48 | # fdatasync() | | 48 | # fdatasync() |
49 | LIBS.SunOS+= -lrt | | 49 | LIBS.SunOS+= -lrt |
50 | | | 50 | |
51 | PY_VER_SUFFIX= 2.7 | | 51 | PY_VER_SUFFIX= 2.7 |
52 | | | 52 | |
53 | .if ${OPSYS} == "NetBSD" | | 53 | .if ${OPSYS} == "NetBSD" |
54 | # XXX work around a botched autoconf check which ignores libintl | | 54 | # XXX work around a botched autoconf check which ignores libintl |
55 | CONFIGURE_ENV+= ac_cv_func_bind_textdomain_codeset=yes | | 55 | CONFIGURE_ENV+= ac_cv_func_bind_textdomain_codeset=yes |
56 | .endif | | 56 | .endif |
57 | | | 57 | |
58 | .if ${OPSYS} == "Cygwin" || ${OPSYS} == "Darwin" || ${OPSYS} == "Interix" | | 58 | .if ${OPSYS} == "Cygwin" || ${OPSYS} == "Darwin" || ${OPSYS} == "Interix" |
59 | PY_PLATNAME= ${LOWER_OPSYS} | | 59 | PY_PLATNAME= ${LOWER_OPSYS} |
60 | USE_TOOLS+= gmake | | 60 | USE_TOOLS+= gmake |
61 | .elif ${OPSYS} == "IRIX" | | 61 | .elif ${OPSYS} == "IRIX" |
62 | PY_PLATNAME= ${LOWER_OPSYS:C/\..*//} | | 62 | PY_PLATNAME= ${LOWER_OPSYS:C/\..*//} |
63 | .elif ${OPSYS} == "SunOS" | | 63 | .elif ${OPSYS} == "SunOS" |
64 | PY_PLATNAME= sunos${OS_VERSION:C/\..*//} | | 64 | PY_PLATNAME= sunos${OS_VERSION:C/\..*//} |
65 | .elif ${OPSYS} == "HPUX" | | 65 | .elif ${OPSYS} == "HPUX" |
66 | PY_PLATNAME= hp-ux11 | | 66 | PY_PLATNAME= hp-ux11 |
67 | .elif ${OPSYS} == "Linux" | | 67 | .elif ${OPSYS} == "Linux" |
68 | PY_PLATNAME= linux2 | | 68 | PY_PLATNAME= linux2 |
69 | .elif ${OS_VARIANT} == "SCOOSR5" | | 69 | .elif ${OS_VARIANT} == "SCOOSR5" |
70 | PY_PLATNAME= sco_sv3 | | 70 | PY_PLATNAME= sco_sv3 |
71 | .else | | 71 | .else |
72 | PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//} | | 72 | PY_PLATNAME= ${LOWER_OPSYS}${OS_VERSION:C/\..*//} |
73 | .endif | | 73 | .endif |
74 | PLIST_SUBST+= PY_PLATNAME=${PY_PLATNAME:Q} | | 74 | PLIST_SUBST+= PY_PLATNAME=${PY_PLATNAME:Q} |
75 | | | 75 | |
76 | .if !empty(LP64PLATFORMS:@.PLAT.@${MACHINE_PLATFORM:M${.PLAT.}}@) || \ | | 76 | .if !empty(LP64PLATFORMS:@.PLAT.@${MACHINE_PLATFORM:M${.PLAT.}}@) || \ |
77 | (defined(ABI) && ${ABI} == "64") | | 77 | (defined(ABI) && ${ABI} == "64") |
78 | IS_64BIT_PLATFORM?= yes | | 78 | IS_64BIT_PLATFORM?= yes |
79 | .else | | 79 | .else |
80 | IS_64BIT_PLATFORM?= no | | 80 | IS_64BIT_PLATFORM?= no |
81 | .endif | | 81 | .endif |
82 | | | 82 | |
83 | PLIST_VARS+= dl dll extra-so nis no-nis qt | | 83 | PLIST_VARS+= dl dll extra-so nis no-nis qt |
84 | | | 84 | |
85 | # the dl module isn't built for 64 bit archs | | 85 | # the dl module isn't built for 64 bit archs |
86 | .if empty(IS_64BIT_PLATFORM:M[yY][eE][sS]) | | 86 | .if empty(IS_64BIT_PLATFORM:M[yY][eE][sS]) |
87 | PLIST.dl= yes | | 87 | PLIST.dl= yes |
88 | .endif | | 88 | .endif |
89 | | | 89 | |
90 | # setup.py causes some modules to be built if the platform is *not* 64bit. | | 90 | # setup.py causes some modules to be built if the platform is *not* 64bit. |
91 | .if !empty(IS_64BIT_PLATFORM:M[nN][oO]) | | 91 | .if !empty(IS_64BIT_PLATFORM:M[nN][oO]) |
92 | PLIST.extra-so= yes | | 92 | PLIST.extra-so= yes |
93 | .endif | | 93 | .endif |
94 | | | 94 | |
95 | # For Xcode 5 we need to search the SDK path for headers, otherwise certain | | 95 | # For Xcode 5 we need to search the SDK path for headers, otherwise certain |
96 | # modules will not be built. | | 96 | # modules will not be built. |
97 | .if ${OPSYS} == "Darwin" | | 97 | .if ${OPSYS} == "Darwin" |
98 | . if exists(${OSX_SDK_PATH}/usr/include) | | 98 | . if exists(${OSX_SDK_PATH}/usr/include) |
99 | CFLAGS+= -I${OSX_SDK_PATH:Q}/usr/include | | 99 | CFLAGS+= -I${OSX_SDK_PATH:Q}/usr/include |
100 | . endif | | 100 | . endif |
101 | . if exists(${OSX_SDK_PATH}/System/Library/Frameworks/QuickTime.framework) | | 101 | . if exists(${OSX_SDK_PATH}/System/Library/Frameworks/QuickTime.framework) |
102 | PLIST.qt= yes | | 102 | PLIST.qt= yes |
103 | . endif | | 103 | . endif |
104 | .endif | | 104 | .endif |
105 | | | 105 | |
106 | .if ${OPSYS} == "IRIX" | | 106 | .if ${OPSYS} == "IRIX" |
| | | 107 | # Assume that IRIX (and IRIX alone) does not support a libpython.so. |
| | | 108 | # Assume that 32-bit IRIX has NIS and 64-bit IRIX does not. |
107 | . if ${ABI} == "64" | | 109 | . if ${ABI} == "64" |
108 | PLIST.no-nis= yes | | 110 | PLIST.no-nis= yes |
109 | . else | | 111 | . else |
110 | PLIST.nis= yes | | 112 | PLIST.nis= yes |
111 | . endif | | 113 | . endif |
112 | .else | | 114 | .else |
113 | PLIST.dll= yes | | 115 | PLIST.dll= yes |
| | | 116 | # Determine if lib-dynload/nis.so (PLIST.nis) or |
| | | 117 | # lib-dynload/nis-failed.so (PLIST.no-nis) will be built. |
114 | . if ${OPSYS} == "MirBSD" || "${OS_VARIANT}" == "chromeos" | | 118 | . if ${OPSYS} == "MirBSD" || "${OS_VARIANT}" == "chromeos" |
115 | # neither nis nor no-nis | | 119 | # neither nis nor no-nis |
116 | . elif ${OPSYS} != "NetBSD" || exists(/usr/bin/ypcat) | | 120 | . elif ${OPSYS} != "NetBSD" || exists(/usr/bin/ypcat) |
| | | 121 | # \todo Explain the "!= NetBSD"; that seems to declare that any |
| | | 122 | # remaining system other than NetBSD will have NIS, even if ypcat is |
| | | 123 | # missing. |
117 | PLIST.nis= yes | | 124 | PLIST.nis= yes |
118 | . else | | 125 | . else |
119 | PLIST.no-nis= yes | | 126 | PLIST.no-nis= yes |
120 | . endif | | 127 | . endif |
121 | .endif | | 128 | .endif |
122 | | | 129 | |
123 | # configure complains about buggy getaddrinfo() | | 130 | # configure complains about buggy getaddrinfo() |
124 | CONFIGURE_ARGS.OSF1+= --disable-ipv6 | | 131 | CONFIGURE_ARGS.OSF1+= --disable-ipv6 |
125 | | | 132 | |
126 | PLIST_SUBST+= PY_VER_SUFFIX=${PY_VER_SUFFIX:Q} | | 133 | PLIST_SUBST+= PY_VER_SUFFIX=${PY_VER_SUFFIX:Q} |
127 | | | 134 | |
128 | TEST_TARGET= test | | 135 | TEST_TARGET= test |
129 | INSTALL_TARGET= altinstall | | 136 | INSTALL_TARGET= altinstall |
130 | | | 137 | |
131 | REPLACE_INTERPRETER+= py27 | | 138 | REPLACE_INTERPRETER+= py27 |
132 | REPLACE.py27.old= .*python[^ ]* | | 139 | REPLACE.py27.old= .*python[^ ]* |
133 | REPLACE.py27.new= ${PREFIX}/bin/python${PY_VER_SUFFIX} | | 140 | REPLACE.py27.new= ${PREFIX}/bin/python${PY_VER_SUFFIX} |
134 | REPLACE_FILES.py27= Lib/UserString.py | | 141 | REPLACE_FILES.py27= Lib/UserString.py |
135 | REPLACE_FILES.py27+= Lib/base64.py | | 142 | REPLACE_FILES.py27+= Lib/base64.py |
136 | REPLACE_FILES.py27+= Lib/cProfile.py | | 143 | REPLACE_FILES.py27+= Lib/cProfile.py |
137 | REPLACE_FILES.py27+= Lib/cgi.py | | 144 | REPLACE_FILES.py27+= Lib/cgi.py |
138 | REPLACE_FILES.py27+= Lib/encodings/rot_13.py | | 145 | REPLACE_FILES.py27+= Lib/encodings/rot_13.py |
139 | REPLACE_FILES.py27+= Lib/idlelib/PyShell.py | | 146 | REPLACE_FILES.py27+= Lib/idlelib/PyShell.py |
140 | REPLACE_FILES.py27+= Lib/keyword.py | | 147 | REPLACE_FILES.py27+= Lib/keyword.py |
141 | REPLACE_FILES.py27+= Lib/lib2to3/pgen2/token.py | | 148 | REPLACE_FILES.py27+= Lib/lib2to3/pgen2/token.py |
142 | REPLACE_FILES.py27+= Lib/lib2to3/tests/data/different_encoding.py | | 149 | REPLACE_FILES.py27+= Lib/lib2to3/tests/data/different_encoding.py |
143 | REPLACE_FILES.py27+= Lib/lib2to3/tests/data/false_encoding.py | | 150 | REPLACE_FILES.py27+= Lib/lib2to3/tests/data/false_encoding.py |
144 | REPLACE_FILES.py27+= Lib/lib2to3/tests/pytree_idempotency.py | | 151 | REPLACE_FILES.py27+= Lib/lib2to3/tests/pytree_idempotency.py |
145 | REPLACE_FILES.py27+= Lib/mimify.py | | 152 | REPLACE_FILES.py27+= Lib/mimify.py |
146 | REPLACE_FILES.py27+= Lib/pdb.py | | 153 | REPLACE_FILES.py27+= Lib/pdb.py |
147 | REPLACE_FILES.py27+= Lib/plat-mac/appletrunner.py | | 154 | REPLACE_FILES.py27+= Lib/plat-mac/appletrunner.py |
148 | REPLACE_FILES.py27+= Lib/plat-mac/bundlebuilder.py | | 155 | REPLACE_FILES.py27+= Lib/plat-mac/bundlebuilder.py |
149 | REPLACE_FILES.py27+= Lib/platform.py | | 156 | REPLACE_FILES.py27+= Lib/platform.py |
150 | REPLACE_FILES.py27+= Lib/profile.py | | 157 | REPLACE_FILES.py27+= Lib/profile.py |
151 | REPLACE_FILES.py27+= Lib/pydoc.py | | 158 | REPLACE_FILES.py27+= Lib/pydoc.py |
152 | REPLACE_FILES.py27+= Lib/quopri.py | | 159 | REPLACE_FILES.py27+= Lib/quopri.py |
153 | REPLACE_FILES.py27+= Lib/smtpd.py | | 160 | REPLACE_FILES.py27+= Lib/smtpd.py |
154 | REPLACE_FILES.py27+= Lib/smtplib.py | | 161 | REPLACE_FILES.py27+= Lib/smtplib.py |
155 | REPLACE_FILES.py27+= Lib/symbol.py | | 162 | REPLACE_FILES.py27+= Lib/symbol.py |
156 | REPLACE_FILES.py27+= Lib/tabnanny.py | | 163 | REPLACE_FILES.py27+= Lib/tabnanny.py |
157 | REPLACE_FILES.py27+= Lib/test/bisect_cmd.py | | 164 | REPLACE_FILES.py27+= Lib/test/bisect_cmd.py |
158 | REPLACE_FILES.py27+= Lib/test/curses_tests.py | | 165 | REPLACE_FILES.py27+= Lib/test/curses_tests.py |
159 | REPLACE_FILES.py27+= Lib/test/re_tests.py | | 166 | REPLACE_FILES.py27+= Lib/test/re_tests.py |
160 | REPLACE_FILES.py27+= Lib/test/pystone.py | | 167 | REPLACE_FILES.py27+= Lib/test/pystone.py |
161 | REPLACE_FILES.py27+= Lib/test/regrtest.py | | 168 | REPLACE_FILES.py27+= Lib/test/regrtest.py |
162 | REPLACE_FILES.py27+= Lib/timeit.py | | 169 | REPLACE_FILES.py27+= Lib/timeit.py |
163 | REPLACE_FILES.py27+= Lib/trace.py | | 170 | REPLACE_FILES.py27+= Lib/trace.py |
164 | REPLACE_FILES.py27+= Lib/uu.py | | 171 | REPLACE_FILES.py27+= Lib/uu.py |
165 | REPLACE_FILES.py27+= Lib/webbrowser.py | | 172 | REPLACE_FILES.py27+= Lib/webbrowser.py |
166 | | | 173 | |
167 | SUBST_CLASSES+= libffi | | 174 | SUBST_CLASSES+= libffi |
168 | SUBST_MESSAGE.libffi= Fixing libffi include path on Darwin. | | 175 | SUBST_MESSAGE.libffi= Fixing libffi include path on Darwin. |
169 | SUBST_STAGE.libffi= pre-configure | | 176 | SUBST_STAGE.libffi= pre-configure |
170 | SUBST_FILES.libffi= setup.py | | 177 | SUBST_FILES.libffi= setup.py |
171 | SUBST_SED.libffi= -e 's,/usr/include/ffi,${BUILDLINK_PREFIX.libffi}/include,' | | 178 | SUBST_SED.libffi= -e 's,/usr/include/ffi,${BUILDLINK_PREFIX.libffi}/include,' |
172 | | | 179 | |
173 | # XXX: It might be needed to add manually more paths like ${PREFIX}/qt5/lib | | 180 | # XXX: It might be needed to add manually more paths like ${PREFIX}/qt5/lib |
174 | # Test: python -c 'from ctypes.util import find_library; print(find_library("ffi"));' | | 181 | # Test: python -c 'from ctypes.util import find_library; print(find_library("ffi"));' |
175 | SUBST_CLASSES+= findlib | | 182 | SUBST_CLASSES+= findlib |
176 | SUBST_MESSAGE.findlib= Fixing find_library(). | | 183 | SUBST_MESSAGE.findlib= Fixing find_library(). |
177 | SUBST_STAGE.findlib= pre-configure | | 184 | SUBST_STAGE.findlib= pre-configure |
178 | SUBST_FILES.findlib= Lib/ctypes/macholib/dyld.py | | 185 | SUBST_FILES.findlib= Lib/ctypes/macholib/dyld.py |
179 | SUBST_FILES.findlib+= Lib/ctypes/util.py | | 186 | SUBST_FILES.findlib+= Lib/ctypes/util.py |
180 | SUBST_FILES.findlib+= Lib/distutils/unixccompiler.py | | 187 | SUBST_FILES.findlib+= Lib/distutils/unixccompiler.py |
181 | SUBST_SED.findlib= -e 's,/usr/local,${PREFIX},' | | 188 | SUBST_SED.findlib= -e 's,/usr/local,${PREFIX},' |
182 | SUBST_SED.findlib+= -e 's!\(-Wl,-t -o\)!${COMPILER_RPATH_FLAG}${PREFIX}/lib -L${PREFIX}/lib \1!' | | 189 | SUBST_SED.findlib+= -e 's!\(-Wl,-t -o\)!${COMPILER_RPATH_FLAG}${PREFIX}/lib -L${PREFIX}/lib \1!' |
183 | | | 190 | |
184 | .include "options.mk" | | 191 | .include "options.mk" |
185 | | | 192 | |
186 | SUBST_CLASSES+= sslbase | | 193 | SUBST_CLASSES+= sslbase |
187 | SUBST_MESSAGE.sslbase= Fixing find-file for openssl with SSLBASE. | | 194 | SUBST_MESSAGE.sslbase= Fixing find-file for openssl with SSLBASE. |
188 | SUBST_STAGE.sslbase= pre-configure | | 195 | SUBST_STAGE.sslbase= pre-configure |
189 | SUBST_FILES.sslbase= setup.py | | 196 | SUBST_FILES.sslbase= setup.py |
190 | SUBST_VARS.sslbase= SSLBASE | | 197 | SUBST_VARS.sslbase= SSLBASE |
191 | | | 198 | |
192 | SUBST_CLASSES+= cacert | | 199 | SUBST_CLASSES+= cacert |
193 | SUBST_MESSAGE.cacert= Configuring location of default CA certificate file. | | 200 | SUBST_MESSAGE.cacert= Configuring location of default CA certificate file. |
194 | SUBST_STAGE.cacert= pre-configure | | 201 | SUBST_STAGE.cacert= pre-configure |
195 | SUBST_FILES.cacert= Modules/_ssl.c | | 202 | SUBST_FILES.cacert= Modules/_ssl.c |
196 | SUBST_VARS.cacert= PREFIX | | 203 | SUBST_VARS.cacert= PREFIX |
197 | | | 204 | |
198 | post-extract: | | 205 | post-extract: |
199 | ${LN} -s ${WRKSRC}/Lib/smtpd.py ${WRKSRC}/Tools/scripts/smtpd${PY_VER_SUFFIX}.py | | 206 | ${LN} -s ${WRKSRC}/Lib/smtpd.py ${WRKSRC}/Tools/scripts/smtpd${PY_VER_SUFFIX}.py |
200 | ${MV} ${WRKSRC}/Tools/scripts/pydoc ${WRKSRC}/Tools/scripts/pydoc${PY_VER_SUFFIX} | | 207 | ${MV} ${WRKSRC}/Tools/scripts/pydoc ${WRKSRC}/Tools/scripts/pydoc${PY_VER_SUFFIX} |
201 | ${MV} ${WRKSRC}/Tools/scripts/2to3 ${WRKSRC}/Tools/scripts/2to3-${PY_VER_SUFFIX} | | 208 | ${MV} ${WRKSRC}/Tools/scripts/2to3 ${WRKSRC}/Tools/scripts/2to3-${PY_VER_SUFFIX} |
202 | | | 209 | |
203 | .if ${OPSYS} == "HPUX" | | 210 | .if ${OPSYS} == "HPUX" |
204 | post-install: | | 211 | post-install: |
205 | ${LN} -fs ${DESTDIR}${PREFIX}/lib/libpython2.7.sl \ | | 212 | ${LN} -fs ${DESTDIR}${PREFIX}/lib/libpython2.7.sl \ |
206 | ${DESTDIR}${PREFIX}/lib/libpython2.7.sl.1.0 | | 213 | ${DESTDIR}${PREFIX}/lib/libpython2.7.sl.1.0 |
207 | .endif | | 214 | .endif |
208 | | | 215 | |
209 | .if ${OS_VARIANT} == "SCOOSR5" | | 216 | .if ${OS_VARIANT} == "SCOOSR5" |
210 | # SCO OpenServer 5.0.7/3.2 has no socklen_t in system headers, but has in | | 217 | # SCO OpenServer 5.0.7/3.2 has no socklen_t in system headers, but has in |
211 | # GNU pth's header. It should be used in this case. | | 218 | # GNU pth's header. It should be used in this case. |
212 | CONFIGURE_ENV+= ac_cv_type_socklen_t=yes | | 219 | CONFIGURE_ENV+= ac_cv_type_socklen_t=yes |
213 | .endif | | 220 | .endif |
214 | | | 221 | |
215 | BUILDLINK_DEPMETHOD.readline= build | | 222 | BUILDLINK_DEPMETHOD.readline= build |
216 | | | 223 | |
217 | .include "../../archivers/bzip2/buildlink3.mk" | | 224 | .include "../../archivers/bzip2/buildlink3.mk" |
218 | .include "../../devel/gettext-lib/buildlink3.mk" | | 225 | .include "../../devel/gettext-lib/buildlink3.mk" |
219 | .include "../../devel/libffi/buildlink3.mk" | | 226 | .include "../../devel/libffi/buildlink3.mk" |
220 | .include "../../devel/readline/buildlink3.mk" | | 227 | .include "../../devel/readline/buildlink3.mk" |
221 | .include "../../devel/zlib/buildlink3.mk" | | 228 | .include "../../devel/zlib/buildlink3.mk" |
222 | .include "../../security/openssl/buildlink3.mk" | | 229 | .include "../../security/openssl/buildlink3.mk" |
223 | .include "../../mk/bdb.buildlink3.mk" | | 230 | .include "../../mk/bdb.buildlink3.mk" |
224 | .include "../../mk/dlopen.buildlink3.mk" | | 231 | .include "../../mk/dlopen.buildlink3.mk" |
225 | .include "../../mk/bsd.pkg.mk" | | 232 | .include "../../mk/bsd.pkg.mk" |