nnn: fix compile/link flags and rebuild (#9009)

This commit is contained in:
augiedoggie
2023-07-09 13:55:22 -06:00
committed by GitHub
parent 151e2e16ac
commit 763fa821df

View File

@@ -14,7 +14,7 @@ Visit the Wiki for concepts, program usage, how-tos and troubleshooting."
HOMEPAGE="https://github.com/jarun/nnn"
COPYRIGHT="2016-2022 Arun Prakash Jana"
LICENSE="BSD (2-clause)"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/jarun/nnn/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="fadc15bd6d4400c06e5ccc47845b42e60774f368570e475bd882767ee18749aa"
@@ -48,8 +48,8 @@ BUILD_PREREQUIRES="
BUILD()
{
export LDFLAGS="-lgnu"
CFLAGS="-I/boot/system/develop/headers/bsd -D_DEFAULT_SOURCE" \
LDFLAGS="-lgnu -lbsd" \
make -f misc/haiku/Makefile $jobArgs
}