View | Details | Raw Unified | Return to bug 274099 | Differences between
and this patch

Collapse All | Expand All

(-)b/lang/python27/Makefile (-2 / +4 lines)
Lines 1-6 Link Here
1
PORTNAME=	python
1
PORTNAME=	python
2
DISTVERSION=	${PYTHON_DISTVERSION}
2
DISTVERSION=	${PYTHON_DISTVERSION}
3
PORTREVISION=	3
3
PORTREVISION=	4
4
CATEGORIES=	lang python
4
CATEGORIES=	lang python
5
MASTER_SITES=	PYTHON/ftp/python/${DISTVERSION}
5
MASTER_SITES=	PYTHON/ftp/python/${DISTVERSION}
6
PKGNAMESUFFIX=	27
6
PKGNAMESUFFIX=	27
Lines 121-127 post-patch: Link Here
121
# openssl/opensslv.h so setup.py just detects the string as 00000000
121
# openssl/opensslv.h so setup.py just detects the string as 00000000
122
# However care should be taken for the OSVERSION. If OpenSSL 3.0.9
122
# However care should be taken for the OSVERSION. If OpenSSL 3.0.9
123
# lands later the OSVERSION string should be fixed accordingly
123
# lands later the OSVERSION string should be fixed accordingly
124
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && (${SSL_DEFAULT} == base || ${SSL_DEFAULT:Mopenssl3*} )
124
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && \
125
	(${SSL_DEFAULT} == base || ${SSL_DEFAULT} == openssl || \
126
	${SSL_DEFAULT:Mopenssl3*} )
125
	@${REINPLACE_CMD} -e 's|00907000|00000000|' \
127
	@${REINPLACE_CMD} -e 's|00907000|00000000|' \
126
		${WRKSRC}/setup.py
128
		${WRKSRC}/setup.py
127
.endif
129
.endif

Return to bug 274099