mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
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.
This commit is contained in:
12
net-ftp/tnftp/patches/tnftp-20091122.patch
Normal file
12
net-ftp/tnftp/patches/tnftp-20091122.patch
Normal file
@@ -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.
|
||||||
|
#
|
||||||
@@ -7,6 +7,11 @@ DEPEND=""
|
|||||||
CHECKSUM_MD5="e7f86e7680648b675ee27c94655de494"
|
CHECKSUM_MD5="e7f86e7680648b675ee27c94655de494"
|
||||||
BUILD {
|
BUILD {
|
||||||
cd tnftpd-20091122
|
cd tnftpd-20091122
|
||||||
|
libtoolize --force --copy --install
|
||||||
|
aclocal
|
||||||
|
autoconf
|
||||||
|
automake
|
||||||
|
autoheader
|
||||||
./configure --prefix=/boot/common
|
./configure --prefix=/boot/common
|
||||||
make
|
make
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user