openbsd-ports/www/apache-httpd/patches/patch-configure

31 lines
996 B
Plaintext

$OpenBSD: patch-configure,v 1.7 2009/12/01 13:38:23 bernd Exp $
--- configure.orig Thu Sep 24 01:29:56 2009
+++ configure Fri Oct 9 11:52:03 2009
@@ -3097,7 +3097,7 @@ do
ap_last="${ap_cur}"
ap_cur=`eval "echo ${ap_cur}"`
done
-exp_sysconfdir="${ap_cur}"
+exp_sysconfdir=%%CONFDIR%%
APACHE_VAR_SUBST="$APACHE_VAR_SUBST exp_sysconfdir"
@@ -4077,7 +4077,7 @@ SHLIBPATH_VAR=`$apr_config --shlib-path-var`
APR_BINDIR=`$apr_config --bindir`
APR_INCLUDEDIR=`$apr_config --includedir`
APR_VERSION=`$apr_config --version`
-APR_CONFIG="$APR_BINDIR/apr-`echo ${APR_VERSION} | sed 's,\..*,,'`-config"
+APR_CONFIG="$apr_config"
echo $ac_n "${nl}Configuring Apache Portable Runtime Utility library...${nl}"
@@ -4384,7 +4384,7 @@ fi
APU_BINDIR=`$apu_config --bindir`
APU_INCLUDEDIR=`$apu_config --includedir`
APU_VERSION=`$apu_config --version`
-APU_CONFIG="$APU_BINDIR/apu-`echo ${APU_VERSION} | sed 's,\..*,,'`-config"
+APU_CONFIG="$apu_config"
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'