mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
nnn: fix compile/link flags and rebuild (#9009)
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user