nixpkgs/pkgs/development/interpreters/php/builder.sh
Eelco Dolstra 7588231bca * Purity problem: try to prevent php from looking for expat.
svn path=/nixpkgs/trunk/; revision=9298
2007-09-11 12:55:09 +00:00

21 lines
438 B
Bash

source $stdenv/setup
alias lex=flex
configureFlags="$configureFlags \
--with-libxml-dir=$libxml2 \
--with-apxs2=$apacheHttpd/bin/apxs \
--without-libexpat-dir"
if test -n "$unixODBC"; then
configureFlags="$configureFlags --with-unixODBC=$unixODBC"
fi
if test -n "$postgresql"; then
configureFlags="$configureFlags --with-pgsql=$postgresql"
fi
makeFlags="APXS_LIBEXECDIR=$out/modules $makeFlags"
genericBuild