about summary refs log tree commit diff
path: root/pkgs/development/libraries/fcgi
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2011-12-07 10:29:52 +0000
committerPeter Simons <simons@cryp.to>2011-12-07 10:29:52 +0000
commit13c9e2b2858348cd65cb05706122626d86bc3eea (patch)
treeff1d6f0ac03b34f46646796967a44c12308f4a1d /pkgs/development/libraries/fcgi
parent1bd85e4159a5f7e26e4f34ada04bbac7f201588a (diff)
downloadnixlib-13c9e2b2858348cd65cb05706122626d86bc3eea.tar
nixlib-13c9e2b2858348cd65cb05706122626d86bc3eea.tar.gz
nixlib-13c9e2b2858348cd65cb05706122626d86bc3eea.tar.bz2
nixlib-13c9e2b2858348cd65cb05706122626d86bc3eea.tar.lz
nixlib-13c9e2b2858348cd65cb05706122626d86bc3eea.tar.xz
nixlib-13c9e2b2858348cd65cb05706122626d86bc3eea.tar.zst
nixlib-13c9e2b2858348cd65cb05706122626d86bc3eea.zip
fcgi: added "fastcgi -> ." symlink in $out/include to fix compilation of
packages that expect the fastcgi library headers in a sub-directory
(which is the way they're installed on some platforms, i.e. CentOS).

svn path=/nixpkgs/trunk/; revision=30790
Diffstat (limited to 'pkgs/development/libraries/fcgi')
-rw-r--r--pkgs/development/libraries/fcgi/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/fcgi/default.nix b/pkgs/development/libraries/fcgi/default.nix
index 6bea14f38375..26ff5dd245e7 100644
--- a/pkgs/development/libraries/fcgi/default.nix
+++ b/pkgs/development/libraries/fcgi/default.nix
@@ -10,7 +10,9 @@ stdenv.mkDerivation rec {
 
   patches = [ ./gcc-4.4.diff ];
 
-  meta = { 
+  postInstall = "ln -s . $out/include/fastcgi";
+
+  meta = {
     description = "FastCGI  is a language independent, scalable, open extension to CG";
     homepage = http://www.fastcgi.com/;
     license = "FastCGI see LICENSE.TERMS";