summaryrefslogtreecommitdiffstats
path: root/httpd-2.1.10-apxs.patch
diff options
context:
space:
mode:
authorjorton <jorton@fedoraproject.org>2005-12-02 10:43:00 +0000
committerjorton <jorton@fedoraproject.org>2005-12-02 10:43:00 +0000
commit96e0b3384f3e4b6be9bc3128de327f3f7fab3265 (patch)
tree1074861f1d2c51c835ffcbed0fe466d354b67889 /httpd-2.1.10-apxs.patch
parent614542ad53a3f1a7f89cc35c4dd8749fb547ee60 (diff)
downloadhttpd-96e0b3384f3e4b6be9bc3128de327f3f7fab3265.tar.gz
httpd-96e0b3384f3e4b6be9bc3128de327f3f7fab3265.tar.xz
httpd-96e0b3384f3e4b6be9bc3128de327f3f7fab3265.zip
- update to 2.2.0httpd-2_2_0-1
Diffstat (limited to 'httpd-2.1.10-apxs.patch')
-rw-r--r--httpd-2.1.10-apxs.patch53
1 files changed, 53 insertions, 0 deletions
diff --git a/httpd-2.1.10-apxs.patch b/httpd-2.1.10-apxs.patch
new file mode 100644
index 0000000..96d7c21
--- /dev/null
+++ b/httpd-2.1.10-apxs.patch
@@ -0,0 +1,53 @@
+
+- remove unnecessary stuff which runs httpd during build
+- drop unnecessary --libs output from ap?-?-config
+
+--- httpd-2.1.10/support/apxs.in.apxs
++++ httpd-2.1.10/support/apxs.in
+@@ -184,34 +184,6 @@
+ }
+ }
+
+-##
+-## Initial shared object support check
+-##
+-my $httpd = get_vars("sbindir") . "/" . get_vars("progname");
+-$httpd = eval qq("$httpd");
+-$httpd = eval qq("$httpd");
+-my $envvars = get_vars("sbindir") . "/envvars";
+-$envvars = eval qq("$envvars");
+-$envvars = eval qq("$envvars");
+-
+-#allow apxs to be run from the source tree, before installation
+-if ($0 =~ m:support/apxs$:) {
+- ($httpd = $0) =~ s:support/apxs$::;
+-}
+-
+-unless (-x "$httpd") {
+- error("$httpd not found or not executable");
+- exit 1;
+-}
+-
+-unless (grep /mod_so/, `. $envvars && $httpd -l`) {
+- error("Sorry, no shared object support for Apache");
+- error("available under your platform. Make sure");
+- error("the Apache module mod_so is compiled into");
+- error("your server binary `$httpd'.");
+- exit 1;
+-}
+-
+ sub get_config_vars{
+ my ($file, $rh_config) = @_;
+
+@@ -433,9 +405,9 @@
+
+ if ($opt_p == 1) {
+
+- my $apr_libs=`$apr_config --cflags --ldflags --link-libtool --libs`;
++ my $apr_libs=`$apr_config --cflags --ldflags --link-libtool`;
+ chomp($apr_libs);
+- my $apu_libs=`$apu_config --ldflags --link-libtool --libs`;
++ my $apu_libs=`$apu_config --ldflags --link-libtool`;
+ chomp($apu_libs);
+
+ $opt .= " ".$apu_libs." ".$apr_libs;