--- devel/newt/Makefile.orig 2021-10-13 09:23:49.601384000 +0100 +++ devel/newt/Makefile 2021-10-13 09:23:03.707879000 +0100 @@ -35,7 +35,7 @@ NLS_USES= gettext NLS_CONFIGURE_ENABLE= nls PYTHON_USES= python -PYTHON_CONFIGURE_WITH= python +PYTHON_CONFIGURE_WITH= python=${PYTHON_VERSION} TCL_USES= tcl TCL_CONFIGURE_WITH= tcl TCL_CONFIGURE_ENV= ac_cv_c_tclconfig=${TCL_LIBDIR:Q} @@ -51,10 +51,6 @@ s| -g | |g ; \ /make -C/s|^|#| ; \ /whiptcl.$$(SOEXT)/s|install|${TRUE}|' ${WRKSRC}/Makefile.in - -post-patch-PYTHON-on: - @${REINPLACE_CMD} -e \ - '/PYTHONVERS/s|=.*|=${PYTHON_VERSION}|' ${WRKSRC}/configure.ac post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/whiptail