mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-03-17 09:32:50 +00:00
Merge pull request #32302 from andir/uwimap-pollution
uwimap pollution of `include/`
This commit is contained in:
commit
c333e9b348
|
@ -22,6 +22,4 @@ stdenv.mkDerivation (args // {
|
|||
makeFlags = [ "EXTENSION_DIR=$(out)/lib/php/extensions" ] ++ makeFlags;
|
||||
|
||||
autoreconfPhase = "phpize";
|
||||
|
||||
preConfigure = "touch unix.h";
|
||||
})
|
||||
|
|
|
@ -18,6 +18,7 @@ stdenv.mkDerivation rec {
|
|||
${ssl} \
|
||||
-e 's/CCLIENT_LIBS=.*/CCLIENT_LIBS=-lc-client/' \
|
||||
-e 's,^PREFIX .*,PREFIX='$out, \
|
||||
-e 's,^CCLIENT_DIR=.*,CCLIENT_DIR=${uwimap}/include/c-client,' \
|
||||
Config
|
||||
sed -i -e s,/usr/bin/perl,${perl}/bin/perl, \
|
||||
templates/src/*.pl
|
||||
|
|
|
@ -33,7 +33,6 @@ let pythonPlugin = pkg : lib.nameValuePair "python${if pkg ? isPy2 then "2" else
|
|||
(lib.nameValuePair "php" {
|
||||
# usage: https://uwsgi-docs.readthedocs.io/en/latest/PHP.html#running-php-apps-with-nginx
|
||||
path = "plugins/php";
|
||||
preBuild = "touch unix.h";
|
||||
inputs = [ php-embed ] ++ php-embed.buildInputs;
|
||||
})
|
||||
];
|
||||
|
|
|
@ -29,8 +29,8 @@ stdenv.mkDerivation {
|
|||
"-I${openssl.dev}/include/openssl";
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p $out/bin $out/lib $out/include
|
||||
cp c-client/*.h c-client/linkage.c $out/include
|
||||
mkdir -p $out/bin $out/lib $out/include/c-client
|
||||
cp c-client/*.h osdep/unix/*.h c-client/linkage.c c-client/auths.c $out/include/c-client/
|
||||
cp c-client/c-client.a $out/lib/libc-client.a
|
||||
cp mailutil/mailutil imapd/imapd dmail/dmail mlock/mlock mtest/mtest tmail/tmail \
|
||||
tools/{an,ua} $out/bin
|
||||
|
|
Loading…
Reference in a new issue