mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
atftp, fix recipe (#3666)
This commit is contained in:
committed by
waddlesplash
parent
4c8355c585
commit
0d82ee308f
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user