2024-05-06 12:19:33 +00:00
|
|
|
# IMPORTANT! If you make any changes to the Python ports, be sure
|
|
|
|
|
# to also update files/CHANGES.OpenBSD for your change. This is a
|
|
|
|
|
# requirement of the PSF license, if it constitutes a change to
|
|
|
|
|
# Python itself.
|
|
|
|
|
|
2026-06-07 17:29:15 +00:00
|
|
|
FULL_VERSION = 3.14.5
|
2026-06-17 01:17:48 +00:00
|
|
|
REVISION-main = 0
|
2026-05-12 13:45:10 +00:00
|
|
|
SHARED_LIBS = python3.14 0.0
|
|
|
|
|
VERSION_SPEC = >=3.14
|
|
|
|
|
PORTROACH = limit:^3\.14
|
2024-05-06 12:19:33 +00:00
|
|
|
|
2026-05-12 13:45:10 +00:00
|
|
|
AUTOCONF_VERSION = 2.72
|
2024-05-06 12:19:33 +00:00
|
|
|
|
2025-12-12 02:44:50 +00:00
|
|
|
# XXX - should come from expat_config.h, which isn't installed in base
|
|
|
|
|
CFLAGS += -DXML_DTD -DXML_GE=1
|
|
|
|
|
|
2024-05-06 12:19:33 +00:00
|
|
|
CONFIGURE_ENV += ac_cv_working_openssl_hashlib=yes \
|
|
|
|
|
TCLTK_CFLAGS="-I${MODTCL_INCDIR} -I${MODTK_INCDIR} -I${X11BASE}/include" \
|
2025-11-14 17:46:17 +00:00
|
|
|
TCLTK_LIBS="-L${X11BASE}/lib -l${MODTCL_LIB} -l${MODTK_LIB} -lpthread"
|
2024-05-06 12:19:33 +00:00
|
|
|
|
2024-05-06 18:53:19 +00:00
|
|
|
# disable bundled pip in favour of the version from devel/py-pip
|
2024-05-06 12:19:33 +00:00
|
|
|
CONFIGURE_ARGS += --with-ensurepip=no
|
|
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|