mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 03:25:02 +00:00
78746b036b
svn path=/nixpkgs/trunk/; revision=9558
25 lines
525 B
Bash
25 lines
525 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
|
|
|
|
if test -n "$mysql"; then
|
|
configureFlags="$configureFlags --with-mysql=$mysql"
|
|
fi
|
|
|
|
makeFlags="APXS_LIBEXECDIR=$out/modules $makeFlags"
|
|
|
|
genericBuild
|