packages/net/tac_plus/patches/010-configure-remove-libnsl.patch
Ilya Lipnitskiy 5d8d4fbbcb
treewide: Run refresh on all packages
The crude loop I wrote to come up with this changeset:

  find -L package/feeds/packages/ -name patches | \
  sed 's/patches$/refresh/' | sort | xargs make

Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
2021-02-20 16:02:15 -08:00

15 lines
538 B
Diff

--- a/tacacs-F4.0.4.28/configure
+++ b/tacacs-F4.0.4.28/configure
@@ -3244,11 +3244,9 @@ case "${host_os}" in
;;
*linux* )
# XXX: not sure if /usr/local is necessary.
- # XXX: linux libwrap needs -lnsl. configure should check for
- # existence of libnsl instead of hard-coding
CPPFLAGS="$CFLAGS -I/usr/local/include"; export CPPFLAGS
LDFLAGS="$LDFLAGS -L/usr/local/lib -L/lib"; export LDFLAGS
- LIBS="-lnsl -lcrypt $LIBS"; export LIBS
+ LIBS="-lcrypt $LIBS"; export LIBS
$as_echo "#define LINUX 1" >>confdefs.h