]> git.pld-linux.org Git - packages/apache-mod_perl.git/commitdiff
- fix building with new apr/apr-util
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 20 Sep 2003 11:18:34 +0000 (11:18 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_perl.spec -> 1.41

apache-mod_perl.spec

index e592f97ea8677f5b6563156f4f22fa62aa6e0ba4..ae6104cb346ad7df7f73fa9fb77ff635fe3b3a9d 100644 (file)
@@ -33,6 +33,7 @@ Patch0:               %{name}-Makefile_PL.patch
 URL:           http://perl.apache.org/
 BuildRequires: %{apxs}
 BuildRequires: apache-devel >= 2.0.0
+BuildRequires: apr-util-devel
 BuildRequires: gdbm-devel
 BuildRequires: perl-devel >= 5.6.1
 BuildRequires: perl-B-Graph
@@ -198,6 +199,8 @@ Apache web 
        MP_AP_PREFIX=%{_usr} \
        INSTALLDIRS=vendor
 
+find . -name 'Makefile*' -exec perl -pi -e "s#-I%{_includedir}/apache#-I%{_includedir}/apache $(apu-config --includes)#g" "{}" ";"
+
 %{__make} \
        CC="%{__cc}"
 
This page took 0.095432 seconds and 4 git commands to generate.