diff --git a/net-ftp/atftp/atftp-0.7.1.recipe b/net-ftp/atftp/atftp-0.7.1.recipe index 9d9fcf7fc..e25bdc429 100644 --- a/net-ftp/atftp/atftp-0.7.1.recipe +++ b/net-ftp/atftp/atftp-0.7.1.recipe @@ -5,7 +5,7 @@ multi-threaded and the client presents a friendly interface using libreadline." HOMEPAGE="https://sourceforge.net/projects/atftp/" COPYRIGHT="2000-2012 Jean-Pierre Lefebvre & Remi Lefebvre" LICENSE="GNU GPL v2" -REVISION="2" +REVISION="3" SOURCE_URI="https://sourceforge.net/projects/atftp/files/atftp-$portVersion.tar.gz/download" CHECKSUM_SHA256="ae4c6f09cadb8d2150c3ce32d88f19036a54e8211f22d723e97864bb5e18f92d" SOURCE_FILENAME="atfp-$portVersion.tar.gz" @@ -22,12 +22,14 @@ PROVIDES=" REQUIRES=" haiku lib:libncurses + lib:libpcre lib:libreadline " BUILD_REQUIRES=" haiku_devel devel:libncurses + devel:libpcre devel:libreadline " BUILD_PREREQUIRES=" @@ -43,8 +45,9 @@ PATCH() BUILD() { + export LDFLAGS="-lnetwork -lbsd" + export CPPFLAGS="-D_BSD_SOURCE" runConfigure ./configure - sed -i "s/LIBS =/LIBS = -lnetwork -lbsd/" Makefile make $jobArgs }