3
0
Fork 0
forked from mirrors/nixpkgs

uwimap: Do not pollute include/ with headers

uwimap was shipping an `include/unix.h` file that would be falsely
detected by many applications (e.g. php and its modules). Due to that
file we got hacks like 8c125c0c74.

This also adds some previously missing files that would normally be
installed by uwimap (linkage.c, osdep/unix/*.h, …)
This commit is contained in:
Andreas Rammhold 2017-12-04 10:08:25 +01:00
parent 7d7d3775e5
commit 939e71fa40
No known key found for this signature in database
GPG key ID: E432E410B5E48C86

View file

@ -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