Fixed samba evaluation on freebsd (I hope)
svn path=/nixpkgs/trunk/; revision=10393
This commit is contained in:
parent
4385e2393b
commit
f0626ba077
|
@ -10,7 +10,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
buildInputs = [readline pam openldap kerberos popt iniparser libunwind fam];
|
buildInputs = [readline pam openldap kerberos popt iniparser libunwind fam];
|
||||||
configureFlags = ''--with-pam --with-smbmount --datadir=$out/share
|
configureFlags = ''--with-pam --with-smbmount --datadir=$out/share
|
||||||
--with-aio-support --with-libiconv=${stdenv.gcc.libc}'';
|
--with-aio-support''
|
||||||
|
+ (if (stdenv.gcc.libc != null) then "--with-libiconv=${stdenv.gcc.libc}" else "");
|
||||||
postUnpack = "sourceRoot=\$sourceRoot/source";
|
postUnpack = "sourceRoot=\$sourceRoot/source";
|
||||||
|
|
||||||
configFile = ./smb.conf;
|
configFile = ./smb.conf;
|
||||||
|
|
Loading…
Reference in New Issue