mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 20:34:52 +03:00
Attempt to fix the vsftpd build on i686-linux
svn path=/nixpkgs/trunk/; revision=27054
This commit is contained in:
parent
270ea3beec
commit
a6518956f9
@ -7,6 +7,12 @@ stdenv.mkDerivation (rec {
|
|||||||
url = "ftp://vsftpd.beasts.org/users/cevans/${name}.tar.gz";
|
url = "ftp://vsftpd.beasts.org/users/cevans/${name}.tar.gz";
|
||||||
sha256 = "0nhsqwnb8qkbxx5wjahara1ln85hp151v656psra5brpckwysrml";
|
sha256 = "0nhsqwnb8qkbxx5wjahara1ln85hp151v656psra5brpckwysrml";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# The gcc-wrappers use -idirafter for glibc, and vsftpd also, and
|
||||||
|
# their dummyinc come before those of glibc, then the build works bad.
|
||||||
|
prePatch = ''
|
||||||
|
sed -i -e 's/-idirafter.*//' Makefile
|
||||||
|
'';
|
||||||
|
|
||||||
preBuild =''
|
preBuild =''
|
||||||
makeFlagsArray=( "LIBS=${if sslEnable then "-lcrypt -lssl -lcrypto " else ""}-lpam -lcap" )
|
makeFlagsArray=( "LIBS=${if sslEnable then "-lcrypt -lssl -lcrypto " else ""}-lpam -lcap" )
|
||||||
|
Loading…
Reference in New Issue
Block a user