summaryrefslogtreecommitdiff
path: root/package/python-newt
diff options
context:
space:
mode:
Diffstat (limited to 'package/python-newt')
-rw-r--r--package/python-newt/newt.mk10
1 files changed, 3 insertions, 7 deletions
diff --git a/package/python-newt/newt.mk b/package/python-newt/newt.mk
index 5e605ed..2c45ceb 100644
--- a/package/python-newt/newt.mk
+++ b/package/python-newt/newt.mk
@@ -4,10 +4,6 @@
#
################################################################################
-# Force to use libintl, otherwise it finds gettext functions in the C
-# library, and does not link against libintl.
-NEWT_CONF_ENV = LIBS=$(TARGET_NLS_LIBS)
-NEWT_MAKE_ENV = $(PKG_PYTHON_SETUPTOOLS_ENV)
-NEWT_CONF_OPTS = --without-tcl --with-python=python3.14
-
-$(eval $(autotools-package))
+# Use the python configure tool from the staging path:
+NEWT_MAKE_ENV += PATH=$(STAGING_DIR)/bin:$$PATH
+NEWT_CONF_OPTS += --with-python=python$(PYTHON3_VERSION_MAJOR)