summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2023-09-03 10:30:15 +0200
committerHans de Graaff <graaff@gentoo.org>2023-09-03 10:30:15 +0200
commit4dc522359ec9731c76f5de74c4b3904c9592fd5a (patch)
tree999ed5017e4c85735cc4e97f916a96f2277df687
parentAdd no-which patch (diff)
downloadapache-4dc522359ec9731c76f5de74c4b3904c9592fd5a.tar.gz
apache-4dc522359ec9731c76f5de74c4b3904c9592fd5a.tar.bz2
apache-4dc522359ec9731c76f5de74c4b3904c9592fd5a.zip
Add libtool patch
Bug: https://bugs.gentoo.org/858836 Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r--2.4/patches/05_libtool.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/2.4/patches/05_libtool.patch b/2.4/patches/05_libtool.patch
new file mode 100644
index 0000000..a0d55d8
--- /dev/null
+++ b/2.4/patches/05_libtool.patch
@@ -0,0 +1,21 @@
+Bug: https://bugs.gentoo.org/858836
+
+From: orbea <orbea@riseup.net>
+Date: Tue, 19 Jul 2022 07:46:36 -0700
+Subject: [PATCH] build: Fix the build with slibtool
+
+Adding LT_INIT to configure.in generates the libtool script in the build
+directory which is required by rlibtool to determine if the build is
+shared or static.
+
+--- a/configure.in
++++ b/configure.in
+@@ -398,7 +398,7 @@ AC_PATH_PROG(RSYNC, rsync)
+ AC_PATH_PROG(SVN, svn)
+ AC_PROG_AWK
+ AC_PROG_LN_S
+-AC_CHECK_TOOL(RANLIB, ranlib, true)
++LT_INIT
+ dnl AC_PATH_PROG(PERL_PATH, perl)
+ AC_CHECK_PROGS(LYNX_PATH,[lynx links elinks], [lynx])
+