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

Collapse All | Expand All

(-)Makefile (-2 / +2 lines)
Lines 29-37 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
35
34
36
INSTALL_TARGET=		altinstall						# Don't want cloberring of unprefixed files
35
INSTALL_TARGET=		altinstall						# Don't want cloberring of unprefixed files
37
36
Lines 119-124 Link Here
119
# which introduces hidden dependency and breaks build
118
# which introduces hidden dependency and breaks build
120
	@${REINPLACE_CMD} -e 's|uuid/uuid.h|ignore_&|' ${WRKSRC}/configure
119
	@${REINPLACE_CMD} -e 's|uuid/uuid.h|ignore_&|' ${WRKSRC}/configure
121
	@${REINPLACE_CMD} -e '/find_library_file/ s|uuid|ignore_&|' ${WRKSRC}/setup.py
120
	@${REINPLACE_CMD} -e '/find_library_file/ s|uuid|ignore_&|' ${WRKSRC}/setup.py
121
	printf '*disabled*\n_sqlite3 _tkinter _gdbm\n' > ${WRKSRC}/Modules/Setup.local
122
122
123
post-install:
123
post-install:
124
.if ! ${PORT_OPTIONS:MDEBUG}
124
.if ! ${PORT_OPTIONS:MDEBUG}

Return to bug 243937