public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
* [PATCH] libxslt: Update to remove python2 modules and disable static libraries
@ 2021-05-11 19:16 Adolf Belka
  0 siblings, 0 replies; only message in thread
From: Adolf Belka @ 2021-05-11 19:16 UTC (permalink / raw)
  To: development

[-- Attachment #1: Type: text/plain, Size: 1544 bytes --]

- Add --without-python and --disable-static to the configure section
   python2 modules not required for libxslt use in IPFire
   disable build of static libraries
- Update rootfile

Signed-off-by: Adolf Belka <adolf.belka(a)ipfire.org>
---
 config/rootfiles/common/libxslt | 5 -----
 lfs/libxslt                     | 5 ++++-
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/config/rootfiles/common/libxslt b/config/rootfiles/common/libxslt
index be00b2426..3c8d144a5 100644
--- a/config/rootfiles/common/libxslt
+++ b/config/rootfiles/common/libxslt
@@ -39,11 +39,6 @@ usr/lib/libxslt.so.1
 usr/lib/libxslt.so.1.1.28
 #usr/lib/pkgconfig/libexslt.pc
 #usr/lib/pkgconfig/libxslt.pc
-usr/lib/python2.7/site-packages/libxml2.pyc
-#usr/lib/python2.7/site-packages/libxslt.py
-#usr/lib/python2.7/site-packages/libxsltmod.a
-#usr/lib/python2.7/site-packages/libxsltmod.la
-usr/lib/python2.7/site-packages/libxsltmod.so
 #usr/lib/xsltConf.sh
 #usr/share/aclocal/libxslt.m4
 #usr/share/doc/libxslt-1.1.28
diff --git a/lfs/libxslt b/lfs/libxslt
index 86ebee30e..159956b1a 100644
--- a/lfs/libxslt
+++ b/lfs/libxslt
@@ -71,7 +71,10 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
 	@$(PREBUILD)
 	@rm -rf $(DIR_APP) && cd $(DIR_SRC) && tar zxf $(DIR_DL)/$(DL_FILE)
 	$(UPDATE_AUTOMAKE)
-	cd $(DIR_APP) && ./configure --prefix=/usr
+	cd $(DIR_APP) && ./configure 		\
+			--prefix=/usr		\
+			--disable-static	\
+			--without-python
 	cd $(DIR_APP) && make $(MAKETUNING)
 	cd $(DIR_APP) && make install
 	@rm -rf $(DIR_APP)
-- 
2.31.1


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-05-11 19:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-11 19:16 [PATCH] libxslt: Update to remove python2 modules and disable static libraries Adolf Belka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox