Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 May 2024 03:34:50 GMT
From:      Yasuhiro Kimura <yasu@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 69ce5e29a540 - main - lang/python27: Fix build with 'DEFAULT_VERSIONS=ssl=openssl'
Message-ID:  <202405150334.44F3YoBv003037@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yasu:

URL: https://cgit.FreeBSD.org/ports/commit/?id=69ce5e29a540b5550a269d18651fdea2b7c79eda

commit 69ce5e29a540b5550a269d18651fdea2b7c79eda
Author:     Yasuhiro Kimura <yasu@FreeBSD.org>
AuthorDate: 2024-05-15 03:34:26 +0000
Commit:     Yasuhiro Kimura <yasu@FreeBSD.org>
CommitDate: 2024-05-15 03:34:26 +0000

    lang/python27: Fix build with 'DEFAULT_VERSIONS=ssl=openssl'
    
    Reported by:    Odhiambo Washington
    Approved by:    portmgr blanket (just fix it)
    MFH:            2024Q2
---
 lang/python27/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index 8aeab6d28008..245835f5be22 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -120,7 +120,8 @@ post-patch:
 # 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
 # lands later the OSVERSION string should be fixed accordingly
-.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && (${SSL_DEFAULT} == base || ${SSL_DEFAULT:Mopenssl3*} )
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && (${SSL_DEFAULT} == base || \
+	${SSL_DEFAULT} == openssl || ${SSL_DEFAULT:Mopenssl3*} )
 	@${REINPLACE_CMD} -e 's|00907000|00000000|' \
 		${WRKSRC}/setup.py
 .endif



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202405150334.44F3YoBv003037>