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 |