components/apache2-modules/mod_fcgid/patches/fcgid.configure.apxs.patch
author Srinivasa Sarva <srinivasa.sarva@oracle.com>
Mon, 16 Jul 2012 10:44:29 -0700
changeset 916 fb0329e47bf5
parent 278 77b380ba9d84
permissions -rw-r--r--
7181574 nmap fails with "bogus caplen from libpcap"

--- configure.apxs.orig	Wed Jun  2 10:55:51 2010
+++ configure.apxs	Tue May 10 09:48:15 2011
@@ -24,8 +24,9 @@
 # scripts expect them to be the parent of the build directory
 # they fail to use the $installbuilddir path.
 exp_installbuilddir=`$APXS -q exp_installbuilddir`
-top_installbuilddir=`cd $exp_installbuilddir/..; pwd`
-top_installbuilddir=`echo $exp_installbuilddir | sed -e "s#/[^/]*\\\$##;"`
+# Better to set top_builddir and top_srcdir to Apache prefix in order 64
+# bits module is built (to avoid problem with $(MACH64) directory in path).
+top_installbuilddir=`$APXS -q prefix`
 
 builddir=`pwd`
 srcdir=$builddir