diff options
author | Marc Weber <marco-oweber@gmx.de> | 2008-03-11 17:24:27 +0000 |
---|---|---|
committer | Marc Weber <marco-oweber@gmx.de> | 2008-03-11 17:24:27 +0000 |
commit | eb06f31203fcbdeb22efda65bce0ab8b58563bf3 (patch) | |
tree | bc62361d9066553d3fa608350aa1cbafd3a4782a /pkgs | |
parent | b35897972ae09000eff02a3e059c7d8381120b8a (diff) | |
download | nixlib-eb06f31203fcbdeb22efda65bce0ab8b58563bf3.tar nixlib-eb06f31203fcbdeb22efda65bce0ab8b58563bf3.tar.gz nixlib-eb06f31203fcbdeb22efda65bce0ab8b58563bf3.tar.bz2 nixlib-eb06f31203fcbdeb22efda65bce0ab8b58563bf3.tar.lz nixlib-eb06f31203fcbdeb22efda65bce0ab8b58563bf3.tar.xz nixlib-eb06f31203fcbdeb22efda65bce0ab8b58563bf3.tar.zst nixlib-eb06f31203fcbdeb22efda65bce0ab8b58563bf3.zip |
roadsend now supports fcgi
svn path=/nixpkgs/trunk/; revision=11064
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/compilers/roadsend/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/development/compilers/roadsend/default.nix b/pkgs/development/compilers/roadsend/default.nix index d7c693b6864f..c7b04f871090 100644 --- a/pkgs/development/compilers/roadsend/default.nix +++ b/pkgs/development/compilers/roadsend/default.nix @@ -4,7 +4,7 @@ let edf = args.lib.enableDisableFeature; in flagConfig = { mandatory = { buildInputs = ["bigloo" "curl"]; }; } // edf "pcre" "pcre" { } #support pcre extension [default=check] - // edf "fcgi" "fcgi" { } #support FastCGI web backend [default=check] + // edf "fcgi" "fcgi" { pass = "fcgi"; } #support FastCGI web backend [default=check] // edf "xml" "xml" { pass ="libxml2"; } #support xml extension [default=check] // edf "mysql" "mysql" { pass = "mysql"; } #support mysql extension [default=check] #// edf "sqlite3=[ARG]" "sqlite3=[ARG]" { } [>use SQLite 3 library [default=yes], optionally @@ -13,7 +13,7 @@ let edf = args.lib.enableDisableFeature; in // edf "gtk" "gtk" { } #support PHP-GTK extension [default=no] // edf "gtk2" "gtk2" { }; #support PHP-GTK 2 extension [default=no] - optionals = [ "libxml2" "gettext" ]; + optionals = [ "libxml2" "gettext" "fcgi" ]; extraAttrs = co : { name = "roadsend-2.9.3"; @@ -22,6 +22,9 @@ let edf = args.lib.enableDisableFeature; in sha256 = "0nw7rvrrwkss5cp6ws0m3q63q1mcyy27s8yjhy7kn508db1rgl9x"; }; + # tell pcc where to find the fastcgi library + postInstall = " sed -e \"s=(ldflags fastcgi.*=(ldflags -l fastcgi -L \$fcgi)=\" -i \$out/etc/pcc.conf "; + meta = { description = "roadsend PHP -> C compiler"; homepage = http://www.roadsend.com; |