openbsd-ports/www/apache-httpd/patches/patch-configure
2011-09-01 13:40:09 +00:00

31 lines
999 B
Plaintext

$OpenBSD: patch-configure,v 1.8 2011/09/01 13:40:09 giovanni Exp $
--- configure.orig Tue Aug 30 02:13:20 2011
+++ configure Wed Aug 31 11:53:52 2011
@@ -3121,7 +3121,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"
@@ -4112,7 +4112,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}"
@@ -4430,7 +4430,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'