From ea2dfcc1c4c900c177e3d05b2d41885672a5cb42 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sat, 15 Oct 2016 09:07:43 -0400 Subject: [PATCH] telnet: Honour LDFLAGS Signed-off-by: Michael Tremer --- telnet/telnet.nm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/telnet/telnet.nm b/telnet/telnet.nm index a538c7a9c..a660f1c23 100644 --- a/telnet/telnet.nm +++ b/telnet/telnet.nm @@ -5,7 +5,7 @@ name = telnet version = 0.17 -release = 2 +release = 3 groups = Applications/Internet url = http://www.ibiblio.org/pub/Linux/system/network/netkit/ @@ -55,7 +55,6 @@ build configure_options = \ --prefix=/usr - # For the telnet client we have to extract a second tarball into the source # directory of the main tarball. prepare @@ -64,6 +63,9 @@ build cd %{DIR_APP} && %{MACRO_EXTRACT} %{DIR_DL}/telnet-client.tar.gz %{MACRO_PATCHES} + + sed -i configure \ + -e "s/LDFLAGS=/LDFLAGS=\"%{LDFLAGS}\"/" end install