]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
newt: Update to work with python3
authorAdolf Belka <adolf.belka@ipfire.org>
Mon, 10 May 2021 14:40:39 +0000 (16:40 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 11 May 2021 16:23:37 +0000 (16:23 +0000)
- Change from building with python2 to python3
- Update of rootfile

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
config/rootfiles/common/newt
lfs/newt

index 5cc993d510ef43a9c5edef239257f2234b20904b..d07b984b1a84613fd47180b93d0b9f1c1e651f11 100644 (file)
@@ -5,8 +5,6 @@ usr/bin/whiptail
 usr/lib/libnewt.so.0.52
 usr/lib/libnewt.so.0.52.21
 #usr/lib/pkgconfig/libnewt.pc
-#usr/lib/python2.7/site-packages/_snack.so
-#usr/lib/python2.7/site-packages/snack.py
 #usr/lib/python3.8/site-packages/_snack.so
 #usr/lib/python3.8/site-packages/snack.py
 #usr/share/locale/ar
index d7ba62866e4dabe900e087c13e268b18904ba50a..ca24b21b2f7dcebeb0af369ceba5f74466ae7653 100644 (file)
--- a/lfs/newt
+++ b/lfs/newt
@@ -70,8 +70,11 @@ $(subst %,%_MD5,$(objects)) :
 $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        @$(PREBUILD)
        @rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
-       cd $(DIR_APP) && ./configure --prefix=/usr \
-               --without-gpm-support --without-tcl
+       cd $(DIR_APP) && ./configure            \
+                       --prefix=/usr           \
+                       --without-gpm-support   \
+                       --without-tcl           \
+                       --with-python=python3.8
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install
        @rm -rf $(DIR_APP)