tcp-wrappers: rename conflicting variable instead of clearing it
This commit is contained in:
parent
a4585468d1
commit
092a4fff40
@ -20,11 +20,14 @@ in stdenv.mkDerivation rec {
|
|||||||
prePatch = ''
|
prePatch = ''
|
||||||
tar -xaf $debian
|
tar -xaf $debian
|
||||||
patches="$(cat debian/patches/series | sed 's,^,debian/patches/,') $patches"
|
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 ];
|
buildInputs = [ libnsl ];
|
||||||
|
|
||||||
makeFlags = [ "STRINGS=" "REAL_DAEMON_DIR=$(out)/bin" "linux" ];
|
makeFlags = [ "REAL_DAEMON_DIR=$(out)/bin" "linux" ];
|
||||||
|
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
mkdir -p "$out/bin"
|
mkdir -p "$out/bin"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user