public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Adolf Belka <adolf.belka@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH] libxslt: Update to remove python2 modules and disable static libraries
Date: Tue, 11 May 2021 21:16:39 +0200	[thread overview]
Message-ID: <20210511191639.3673777-1-adolf.belka@ipfire.org> (raw)

[-- 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


                 reply	other threads:[~2021-05-11 19:16 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210511191639.3673777-1-adolf.belka@ipfire.org \
    --to=adolf.belka@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox