--- Makefile (revision 525152) +++ Makefile (working copy) @@ -29,9 +29,8 @@ PYTHON_VERSION= python${PYTHON_VER} PYTHON_SUFFIX= ${PYTHON_VER:S/.//g} -DISABLED_EXTENSIONS= _sqlite3 _tkinter _gdbm CONFIGURE_ARGS+= --enable-shared --without-ensurepip -CONFIGURE_ENV+= OPT="" DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS}" # Null out OPT to respect user CFLAGS and remove optimizations +CONFIGURE_ENV+= OPT="" # Null out OPT to respect user CFLAGS and remove optimizations INSTALL_TARGET= altinstall # Don't want cloberring of unprefixed files --- files/patch-Modules-Setup (nonexistent) +++ files/patch-Modules-Setup (working copy) @@ -0,0 +1,10 @@ +disable modules that are built by other ports (py-tkinter, py-sqlite3, etc.) + +--- Modules/Setup.orig 2019-12-18 17:21:23 UTC ++++ Modules/Setup +@@ -366,3 +366,5 @@ + # + #_sqlite3 _tkinter _curses pyexpat + #_codecs_jp _codecs_kr _codecs_tw unicodedata ++*disabled* ++_sqlite3 _tkinter _gdbm