Files
gentoo/app-admin/apache-tools/files/apache-tools-2.4.54-libtool.patch
orbea 794e3dca81 app-admin/apache-tools: Fix the build with rlibtool
The apache-tools-2.4.7-Makefile.patch is reimplemented since the
existing patch is wrong. The binaries are already installed in
build/rules.mk and with the patch they were being installed twice
where the second instance overwrites the binaries with the slibtool
wrapper scripts.

Bug: https://bugs.gentoo.org/858833
Signed-off-by: orbea <orbea@riseup.net>
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
2022-07-22 09:51:12 +02:00

22 lines
594 B
Diff

Bug: https://bugs.gentoo.org/858833
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])