Changeset View
Changeset View
Standalone View
Standalone View
lang/python27/Makefile
| Show First 20 Lines • Show All 114 Lines • ▼ Show 20 Lines | @${REINPLACE_CMD} -e 's/disabled_module_list =[^]]*/&, "nis"/' \ | ||||
| ${WRKSRC}/setup.py | ${WRKSRC}/setup.py | ||||
| .endif | .endif | ||||
| # This is just a dirty hack for building with OpenSSL 3.0.0 and later | # This is just a dirty hack for building with OpenSSL 3.0.0 and later | ||||
| # There is no plain string OPENSSL_VERSION_NUMBER available in | # There is no plain string OPENSSL_VERSION_NUMBER available in | ||||
| # openssl/opensslv.h so setup.py just detects the string as 00000000 | # openssl/opensslv.h so setup.py just detects the string as 00000000 | ||||
| # However care should be taken for the OSVERSION. If OpenSSL 3.0.9 | # However care should be taken for the OSVERSION. If OpenSSL 3.0.9 | ||||
| # lands later the OSVERSION string should be fixed accordingly | # lands later the OSVERSION string should be fixed accordingly | ||||
| .if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && (${SSL_DEFAULT} == base || \ | .if ${OPSYS} == FreeBSD && (${SSL_DEFAULT} == base || \ | ||||
| ${SSL_DEFAULT} == openssl || ${SSL_DEFAULT:Mopenssl3*} ) | ${SSL_DEFAULT} == openssl || ${SSL_DEFAULT:Mopenssl3*} ) | ||||
| @${REINPLACE_CMD} -e 's|00907000|00000000|' \ | @${REINPLACE_CMD} -e 's|00907000|00000000|' \ | ||||
| ${WRKSRC}/setup.py | ${WRKSRC}/setup.py | ||||
| .endif | .endif | ||||
| post-install: | post-install: | ||||
| for i in ${STAGEDIR}${PREFIX}/lib/python2.7/lib-dynload/*.so; do \ | for i in ${STAGEDIR}${PREFIX}/lib/python2.7/lib-dynload/*.so; do \ | ||||
| ${STRIP_CMD} $$i; done # Strip shared extensions | ${STRIP_CMD} $$i; done # Strip shared extensions | ||||
| Show All 21 Lines | |||||