commit:     9bffce54dbffbeb9bc67d61d84cfad4e7981b4dc
Author:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
AuthorDate: Sat May 24 09:27:30 2025 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Sun May 25 09:21:15 2025 +0000
URL:        https://gitweb.gentoo.org/proj/apache.git/commit/?id=9bffce54

Patch apxs for correct configuration filename

Bug: https://bugs.gentoo.org/112863
Signed-off-by: Hans de Graaff <graaff <AT> gentoo.org>

 2.4/patches/05_apxs_conf_name.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/2.4/patches/05_apxs_conf_name.patch 
b/2.4/patches/05_apxs_conf_name.patch
new file mode 100644
index 0000000..60fe3b0
--- /dev/null
+++ b/2.4/patches/05_apxs_conf_name.patch
@@ -0,0 +1,11 @@
+--- a/support/apxs.in  2020-03-20 14:00:44.000000000 +0100
++++ b/support/apxs.in  2025-05-24 11:20:25.632979926 +0200
+@@ -45,7 +45,7 @@
+ my $exec_prefix    = get_vars("exec_prefix");
+ my $datadir        = get_vars("datadir");
+ my $localstatedir  = get_vars("localstatedir");
+-my $CFG_TARGET     = get_vars("progname");
++my $CFG_TARGET     = "httpd";  # get_vars("progname");
+ my $CFG_SYSCONFDIR = get_vars("sysconfdir");
+ my $CFG_CFLAGS     = join ' ', map { get_vars($_) }
+   qw(SHLTCFLAGS CFLAGS NOTEST_CPPFLAGS EXTRA_CPPFLAGS EXTRA_CFLAGS);

Reply via email to