freebsd-ports/www/apache22/files/patch-srclib:apr:build:buildcheck.sh
Clement Laforet 9f63b13398 - House keeping (update to current standards: USE_RC_SUBR, USE_LDCONFIG,etc.)
- Remove python dependency unless apr_dbd_mysql is built [1]

Required by:		many [1]
2006-09-24 16:16:40 +00:00

27 lines
923 B
Bash

--- srclib/apr/build/buildcheck.sh.orig Fri Jun 17 00:53:05 2005
+++ srclib/apr/build/buildcheck.sh Sun Sep 24 15:18:38 2006
@@ -2,6 +2,7 @@
echo "buildconf: checking installation..."
+if [ "x${FULLBUILD}" = "xon" ] ; then
# any python
python=`build/PrintPath python`
if test -z "$python"; then
@@ -13,6 +14,7 @@
py_version=`python -c 'import sys; print sys.version' 2>&1|sed 's/ .*//;q'`
echo "buildconf: python version $py_version (ok)"
fi
+fi
# autoconf 2.50 or newer
ac_version=`${AUTOCONF:-autoconf} --version 2>/dev/null|sed -e 's/^[^0-9]*//;s/[a-z]* *$//;q'`
@@ -38,7 +40,7 @@
# output is multiline from 1.5 onwards
# Require libtool 1.4 or newer
-libtool=`build/PrintPath glibtool libtool libtool15 libtool14`
+libtool=${LIBTOOL}
lt_pversion=`$libtool --version 2>/dev/null|sed -e 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'`
if test -z "$lt_pversion"; then
echo "buildconf: libtool not found."