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

Collapse All | Expand All

(-)b/lang/python38/Makefile (-2 / +3 lines)
Lines 28-36 PYTHON_VER= ${PYTHON_DISTVERSION:R} Link Here
28
PYTHON_VERSION=		python${PYTHON_VER}
28
PYTHON_VERSION=		python${PYTHON_VER}
29
PYTHON_SUFFIX=		${PYTHON_VER:S/.//g}
29
PYTHON_SUFFIX=		${PYTHON_VER:S/.//g}
30
30
31
DISABLED_EXTENSIONS=	_sqlite3 _tkinter _gdbm
32
CONFIGURE_ARGS+=	--enable-shared --without-ensurepip
31
CONFIGURE_ARGS+=	--enable-shared --without-ensurepip
33
CONFIGURE_ENV+=		OPT="" DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS}"	# Null out OPT to respect user CFLAGS and remove optimizations
32
CONFIGURE_ENV+=		OPT="" # Null out OPT to respect user CFLAGS and remove optimizations
33
DISABLED_EXTENSIONS=	_sqlite3 _tkinter _gdbm
34
34
35
INSTALL_TARGET=		altinstall						# Don't want cloberring of unprefixed files
35
INSTALL_TARGET=		altinstall						# Don't want cloberring of unprefixed files
36
36
Lines 118-123 PLIST_SUB+= NO_NIS="" Link Here
118
.endif
118
.endif
119
119
120
post-patch:
120
post-patch:
121
	${PRINTF} '*disabled*\n${DISABLED_EXTENSIONS}\n' > ${WRKSRC}/Modules/Setup.local
121
# disable the detection of includes and library from e2fsprogs-libuuid,
122
# disable the detection of includes and library from e2fsprogs-libuuid,
122
# which introduces hidden dependency and breaks build
123
# which introduces hidden dependency and breaks build
123
	@${REINPLACE_CMD} -e 's|uuid/uuid.h|ignore_&|' ${WRKSRC}/configure
124
	@${REINPLACE_CMD} -e 's|uuid/uuid.h|ignore_&|' ${WRKSRC}/configure
(-)b/lang/python39/Makefile (-2 / +3 lines)
Lines 29-37 PYTHON_VER= ${PYTHON_DISTVERSION:R} Link Here
29
PYTHON_VERSION=		python${PYTHON_VER}
29
PYTHON_VERSION=		python${PYTHON_VER}
30
PYTHON_SUFFIX=		${PYTHON_VER:S/.//g}
30
PYTHON_SUFFIX=		${PYTHON_VER:S/.//g}
31
31
32
DISABLED_EXTENSIONS=	_sqlite3 _tkinter _gdbm
33
CONFIGURE_ARGS+=	--enable-shared --without-ensurepip
32
CONFIGURE_ARGS+=	--enable-shared --without-ensurepip
34
CONFIGURE_ENV+=		OPT="" DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS}"	# Null out OPT to respect user CFLAGS and remove optimizations
33
CONFIGURE_ENV+=		OPT="" # Null out OPT to respect user CFLAGS and remove optimizations
34
DISABLED_EXTENSIONS=	_sqlite3 _tkinter _gdbm
35
35
36
INSTALL_TARGET=		altinstall						# Don't want cloberring of unprefixed files
36
INSTALL_TARGET=		altinstall						# Don't want cloberring of unprefixed files
37
37
Lines 119-124 PLIST_SUB+= NO_NIS="" Link Here
119
.endif
119
.endif
120
120
121
post-patch:
121
post-patch:
122
	${PRINTF} '*disabled*\n${DISABLED_EXTENSIONS}\n' > ${WRKSRC}/Modules/Setup.local
122
# disable the detection of includes and library from e2fsprogs-libuuid,
123
# disable the detection of includes and library from e2fsprogs-libuuid,
123
# which introduces hidden dependency and breaks build
124
# which introduces hidden dependency and breaks build
124
	@${REINPLACE_CMD} -e 's|uuid/uuid.h|ignore_&|' ${WRKSRC}/configure
125
	@${REINPLACE_CMD} -e 's|uuid/uuid.h|ignore_&|' ${WRKSRC}/configure

Return to bug 243937