diff options
Diffstat (limited to 'www-apache/mod_security/files/mod_security-2.5.9-broken-autotools.patch')
-rw-r--r-- | www-apache/mod_security/files/mod_security-2.5.9-broken-autotools.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/www-apache/mod_security/files/mod_security-2.5.9-broken-autotools.patch b/www-apache/mod_security/files/mod_security-2.5.9-broken-autotools.patch new file mode 100644 index 000000000000..75cbb4600f60 --- /dev/null +++ b/www-apache/mod_security/files/mod_security-2.5.9-broken-autotools.patch @@ -0,0 +1,34 @@ +Index: modsecurity-apache_2.5.9/apache2/build/find_apr.m4 +=================================================================== +--- modsecurity-apache_2.5.9.orig/apache2/build/find_apr.m4 ++++ modsecurity-apache_2.5.9/apache2/build/find_apr.m4 +@@ -24,9 +24,9 @@ AC_ARG_WITH( + AC_MSG_CHECKING([for libapr config script]) + + dnl # Determine if the script was specified and use it directly +-if test ! -d "${withval}" -a -e "${withval}"; then +- APR_CONFIG="`basename $withval`" +- with_apr=`echo ${withval} | sed "s/\/\?${APR_CONFIG}\$//"` ++if test ! -d "${apr_path}" -a -e "${apr_path}"; then ++ APR_CONFIG="`basename $apr_path`" ++ with_apr=`echo ${apr_path} | sed "s/\/\?${APR_CONFIG}\$//"` + fi + + dnl # Look for the config script +Index: modsecurity-apache_2.5.9/apache2/build/find_apu.m4 +=================================================================== +--- modsecurity-apache_2.5.9.orig/apache2/build/find_apu.m4 ++++ modsecurity-apache_2.5.9/apache2/build/find_apu.m4 +@@ -24,9 +24,9 @@ AC_ARG_WITH( + AC_MSG_CHECKING([for libapr-util config script]) + + dnl # Determine if the script was specified and use it directly +-if test ! -d "${withval}" -a -e "${withval}"; then +- APU_CONFIG="`basename $withval`" +- with_apu=`echo ${withval} | sed "s/\/\?${APU_CONFIG}\$//"` ++if test ! -d "${apu_path}" -a -e "${apu_path}"; then ++ APU_CONFIG="`basename $apu_path`" ++ with_apu=`echo ${apu_path} | sed "s/\/\?${APU_CONFIG}\$//"` + fi + + dnl # Look for the config script |