openntpd: More build fixes

This commit is contained in:
William A. Kennington III
2015-02-04 16:17:38 -08:00
parent 6a872c304c
commit 1dd23a28cb
2 changed files with 29 additions and 3 deletions
+3 -3
View File
@@ -12,13 +12,13 @@ stdenv.mkDerivation rec {
sha256 = "4f417c8a4c21ed7ec3811107829f931404f9bf121855b8571a2ca3355695343a";
};
postPatch = ''
sed -i -e '/^install:/,/^$/{/@if.*PRIVSEP_PATH/,/^$/d}' Makefile.in
'';
patches = [ ./no-install.patch ];
configureFlags = [
"--with-privsep-path=${privsepPath}"
"--with-privsep-user=${privsepUser}"
"--sysconfdir=/etc"
"--localstatedir=/var"
];
buildInputs = [ openssl ];