2005-12-05 06:11:09 -08:00
|
|
|
source $stdenv/setup
|
2005-09-11 14:39:22 -07:00
|
|
|
|
|
|
|
alias lex=flex
|
|
|
|
|
2006-03-15 07:59:20 -08:00
|
|
|
configureFlags="$configureFlags \
|
|
|
|
--with-libxml-dir=$libxml2 \
|
|
|
|
--with-apxs2=$apacheHttpd/bin/apxs \
|
2007-09-11 05:55:09 -07:00
|
|
|
--without-libexpat-dir"
|
2006-03-15 07:59:20 -08:00
|
|
|
|
|
|
|
if test -n "$unixODBC"; then
|
|
|
|
configureFlags="$configureFlags --with-unixODBC=$unixODBC"
|
|
|
|
fi
|
2006-07-09 08:00:37 -07:00
|
|
|
|
|
|
|
if test -n "$postgresql"; then
|
|
|
|
configureFlags="$configureFlags --with-pgsql=$postgresql"
|
|
|
|
fi
|
2006-03-15 07:59:20 -08:00
|
|
|
|
2005-09-11 14:39:22 -07:00
|
|
|
makeFlags="APXS_LIBEXECDIR=$out/modules $makeFlags"
|
|
|
|
|
|
|
|
genericBuild
|