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 |
CONFIGURE_ARGS+= --enable-shared --without-ensurepip |
33 |
CONFIGURE_ENV+= OPT="" # Null out OPT to respect user CFLAGS and remove optimizations |
32 |
DISABLED_EXTENSIONS= _sqlite3 _tkinter _gdbm |
34 |
DISABLED_EXTENSIONS= _sqlite3 _tkinter _gdbm |
33 |
CONFIGURE_ARGS+= --enable-shared --without-ensurepip |
|
|
34 |
CONFIGURE_ENV+= OPT="" DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS}" # Null out OPT to respect user CFLAGS and remove optimizations |
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 115-120
Link Here
|
115 |
.endif |
115 |
.endif |
116 |
|
116 |
|
117 |
post-patch: |
117 |
post-patch: |
|
|
118 |
${PRINTF} '*disabled*\n${DISABLED_EXTENSIONS}\n' > ${WRKSRC}/Modules/Setup.local |
118 |
# disable the detection of includes and library from e2fsprogs-libuuid, |
119 |
# disable the detection of includes and library from e2fsprogs-libuuid, |
119 |
# which introduces hidden dependency and breaks build |
120 |
# which introduces hidden dependency and breaks build |
120 |
@${REINPLACE_CMD} -e 's|uuid/uuid.h|ignore_&|' ${WRKSRC}/configure |
121 |
@${REINPLACE_CMD} -e 's|uuid/uuid.h|ignore_&|' ${WRKSRC}/configure |