aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Korzun <drtr0jan@yandex.ru>2021-10-13 15:12:23 +0000
committerNeel Chauhan <nc@FreeBSD.org>2021-10-13 15:12:23 +0000
commit6147179016a67da893ace8f2df6d8c89e56ad0bb (patch)
tree41d07e42ad5ae5331f5fdc0cae0e7acf34815bce
parentb57a65540fdf5e618b006621f2ab6b946ddfe62c (diff)
downloadports-6147179016a67da893ace8f2df6d8c89e56ad0bb.tar.gz
ports-6147179016a67da893ace8f2df6d8c89e56ad0bb.zip
devel/newt: Fix configure failure after update to 0.52.21
PR: 259101
-rw-r--r--devel/newt/Makefile6
1 files changed, 1 insertions, 5 deletions
diff --git a/devel/newt/Makefile b/devel/newt/Makefile
index 596020b9cd44..2c483b11e33a 100644
--- a/devel/newt/Makefile
+++ b/devel/newt/Makefile
@@ -35,7 +35,7 @@ OPTIONS_SUB= yes
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}
@@ -52,10 +52,6 @@ post-patch:
/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
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libnewt.so