Trying to fix samba evaluation on freebsd
svn path=/nixpkgs/branches/stdenv-updates/; revision=10298
This commit is contained in:
parent
68373da7ee
commit
9552457d84
@ -11,7 +11,7 @@ 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-aio-support ''
|
||||||
+ (if stdenv.gcc ? libc then "--with-libiconv=${stdenv.gcc.libc}" else "");
|
+ (if (stdenv.gcc ? libc && stdenv.gcc.libc) then "--with-libiconv=${stdenv.gcc.libc}" else "");
|
||||||
|
|
||||||
postUnpack = "sourceRoot=\$sourceRoot/source";
|
postUnpack = "sourceRoot=\$sourceRoot/source";
|
||||||
postInstall = ''rm -rf $out/var ; ln -s /var/samba $out/var '';
|
postInstall = ''rm -rf $out/var ; ln -s /var/samba $out/var '';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user