3
0
Fork 0
forked from mirrors/nixpkgs

openvpn: disable libpam support on OSX to enable build

This commit is contained in:
Hendrik Schaeidt 2016-10-06 20:20:59 +02:00 committed by Franz Pletz
parent 3dab3b6fd6
commit d6d12ebc55
No known key found for this signature in database
GPG key ID: 846FDED7792617B4

View file

@ -24,7 +24,8 @@ stdenv.mkDerivation rec {
"--enable-systemd"
"--enable-iproute2"
"IPROUTE=${iproute}/sbin/ip" ]
++ optional pkcs11Support "--enable-pkcs11";
++ optional pkcs11Support "--enable-pkcs11"
++ optional stdenv.isDarwin "--disable-plugin-auth-pam";
postInstall = ''
mkdir -p $out/share/doc/openvpn/examples
@ -40,6 +41,6 @@ stdenv.mkDerivation rec {
homepage = http://openvpn.net/;
license = stdenv.lib.licenses.gpl2;
maintainers = [ stdenv.lib.maintainers.viric ];
platforms = stdenv.lib.platforms.linux;
platforms = stdenv.lib.platforms.unix;
};
}