atftp, fix recipe (#3666)

This commit is contained in:
Schrijvers Luc
2019-03-06 19:25:43 +01:00
committed by waddlesplash
parent 4c8355c585
commit 0d82ee308f

View File

@@ -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
}