mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 06:45:16 +01:00
Fixed samba on freebsd (I hope)
svn path=/nixpkgs/branches/stdenv-updates/; revision=10299
This commit is contained in:
parent
9552457d84
commit
9d5757470a
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ stdenv.mkDerivation rec {
|
|||
buildInputs = [readline pam openldap kerberos popt iniparser libunwind fam];
|
||||
configureFlags = ''--with-pam --with-smbmount --datadir=$out/share
|
||||
--with-aio-support ''
|
||||
+ (if (stdenv.gcc ? libc && stdenv.gcc.libc) then "--with-libiconv=${stdenv.gcc.libc}" else "");
|
||||
+ (if (stdenv.gcc.libc != null) then "--with-libiconv=${stdenv.gcc.libc}" else "");
|
||||
|
||||
postUnpack = "sourceRoot=\$sourceRoot/source";
|
||||
postInstall = ''rm -rf $out/var ; ln -s /var/samba $out/var '';
|
||||
|
|
Loading…
Reference in a new issue