From 0340856a002007592a727fb36e9c6d944302cf21 Mon Sep 17 00:00:00 2001 From: Scott McCreary Date: Mon, 30 Aug 2010 03:59:36 +0000 Subject: [PATCH] Initial patch to add detection for -lnetwork in tnftp. Note that this fails to build, but it is detecting ipv6, so probably a good one to take a fresh look at once ipv6 is known to be more stable and working on Haiku. --- net-ftp/tnftp/patches/tnftp-20091122.patch | 12 ++++++++++++ net-ftp/tnftp/tnftp-20091122.bep | 5 +++++ 2 files changed, 17 insertions(+) create mode 100644 net-ftp/tnftp/patches/tnftp-20091122.patch diff --git a/net-ftp/tnftp/patches/tnftp-20091122.patch b/net-ftp/tnftp/patches/tnftp-20091122.patch new file mode 100644 index 000000000..1679058c0 --- /dev/null +++ b/net-ftp/tnftp/patches/tnftp-20091122.patch @@ -0,0 +1,12 @@ +diff -urN tnftpd-20091122/configure.ac tnftpd-20091122-haiku/configure.ac +--- tnftpd-20091122/configure.ac 2009-12-30 01:42:42.036962304 +0000 ++++ tnftpd-20091122-haiku/configure.ac 2010-08-30 03:35:13.000000000 +0000 +@@ -123,7 +123,7 @@ + [LIBS="-lsocket -lnsl $LIBS"], + [], + [-lnsl])]) +- ++AC_CHECK_LIB(network, socket, LIBS="-lnetwork $LIBS") + # + # Checks for header files. + # diff --git a/net-ftp/tnftp/tnftp-20091122.bep b/net-ftp/tnftp/tnftp-20091122.bep index 301682bb3..f118ab3b4 100644 --- a/net-ftp/tnftp/tnftp-20091122.bep +++ b/net-ftp/tnftp/tnftp-20091122.bep @@ -7,6 +7,11 @@ DEPEND="" CHECKSUM_MD5="e7f86e7680648b675ee27c94655de494" BUILD { cd tnftpd-20091122 + libtoolize --force --copy --install + aclocal + autoconf + automake + autoheader ./configure --prefix=/boot/common make }