tcp-wrappers: rename conflicting variable instead of clearing it

This commit is contained in:
Will Dietz 2018-04-23 13:56:08 -05:00
parent a4585468d1
commit 092a4fff40

View File

@ -20,11 +20,14 @@ in stdenv.mkDerivation rec {
prePatch = ''
tar -xaf $debian
patches="$(cat debian/patches/series | sed 's,^,debian/patches/,') $patches"
substituteInPlace Makefile --replace STRINGS STRINGDEFS
substituteInPlace debian/patches/13_shlib_weaksym --replace STRINGS STRINGDEFS
'';
buildInputs = [ libnsl ];
makeFlags = [ "STRINGS=" "REAL_DAEMON_DIR=$(out)/bin" "linux" ];
makeFlags = [ "REAL_DAEMON_DIR=$(out)/bin" "linux" ];
installPhase = ''
mkdir -p "$out/bin"