diff options
author | jorton <jorton@fedoraproject.org> | 2006-06-07 10:40:34 +0000 |
---|---|---|
committer | jorton <jorton@fedoraproject.org> | 2006-06-07 10:40:34 +0000 |
commit | c1d75190cfd6ac7f0823be8ae6f19071b2d89c8e (patch) | |
tree | 162f724639582cd418ef223540207b46e874ecd5 /httpd-2.1.10-apxs.patch | |
parent | 48593e589212ce165918f066a4e1189155884dca (diff) | |
download | httpd-c1d75190cfd6ac7f0823be8ae6f19071b2d89c8e.tar.gz httpd-c1d75190cfd6ac7f0823be8ae6f19071b2d89c8e.tar.xz httpd-c1d75190cfd6ac7f0823be8ae6f19071b2d89c8e.zip |
- require pkgconfig for -devel (#194152)
- fixes for installed support makefiles (special.mk et al)
Diffstat (limited to 'httpd-2.1.10-apxs.patch')
-rw-r--r-- | httpd-2.1.10-apxs.patch | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/httpd-2.1.10-apxs.patch b/httpd-2.1.10-apxs.patch index 15afdeb..7b49222 100644 --- a/httpd-2.1.10-apxs.patch +++ b/httpd-2.1.10-apxs.patch @@ -5,7 +5,7 @@ --- httpd-2.2.2/support/apxs.in.apxs +++ httpd-2.2.2/support/apxs.in -@@ -25,7 +25,15 @@ +@@ -25,7 +25,18 @@ my %config_vars = (); @@ -17,12 +17,15 @@ + exit(1); +} + -+my $installbuilddir = `pkg-config --variable=libdir apr-1` . "httpd/build"; ++my $libdir = `pkg-config --variable=libdir apr-1`; ++chomp $libdir; ++ ++my $installbuilddir = $libdir . "/httpd/build"; + get_config_vars("$installbuilddir/config_vars.mk",\%config_vars); # read the configuration variables once -@@ -184,34 +192,6 @@ +@@ -184,34 +195,6 @@ } } @@ -57,7 +60,16 @@ sub get_config_vars{ my ($file, $rh_config) = @_; -@@ -433,9 +413,9 @@ +@@ -291,7 +274,7 @@ + $data =~ s|%NAME%|$name|sg; + $data =~ s|%TARGET%|$CFG_TARGET|sg; + $data =~ s|%PREFIX%|$prefix|sg; +- $data =~ s|%INSTALLBUILDDIR%|$installbuilddir|sg; ++ $data =~ s|%LIBDIR%|$libdir|sg; + + my ($mkf, $mods, $src) = ($data =~ m|^(.+)-=#=-\n(.+)-=#=-\n(.+)|s); + +@@ -433,9 +416,9 @@ if ($opt_p == 1) { @@ -69,3 +81,14 @@ chomp($apu_libs); $opt .= " ".$apu_libs." ".$apr_libs; +@@ -646,8 +629,8 @@ + + builddir=. + top_srcdir=%PREFIX% +-top_builddir=%PREFIX% +-include %INSTALLBUILDDIR%/special.mk ++top_builddir=%LIBDIR%/httpd ++include %LIBDIR%/httpd/special.mk + + # the used tools + APXS=apxs |