mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
nnn: define _GNU_SOURCE
This commit is contained in:
@@ -16,7 +16,7 @@ COPYRIGHT="2014-2016 Lazaros Koromilas
|
||||
2014-2016 Dimitris Papastamos
|
||||
2016-2024 Arun Prakash Jana"
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="2"
|
||||
REVISION="3"
|
||||
SOURCE_URI="https://github.com/jarun/nnn/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="31e8fd85f3dd7ab2bf0525c3c0926269a1e6d35a5343a6714315642370d8605a"
|
||||
PATCHES="nnn-$portVersion.patchset"
|
||||
@@ -60,9 +60,9 @@ PATCH()
|
||||
|
||||
BUILD()
|
||||
{
|
||||
CFLAGS="-I/boot/system/develop/headers/bsd -D_DEFAULT_SOURCE" \
|
||||
CFLAGS="-I/boot/system/develop/headers/gnu -I/boot/system/develop/headers/bsd -D_GNU_SOURCE -D_DEFAULT_SOURCE" \
|
||||
LDFLAGS="-lgnu -lbsd" \
|
||||
make -f misc/haiku/Makefile O_NOX11=1 $jobArgs
|
||||
make -f misc/haiku/Makefile $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
|
||||
Reference in New Issue
Block a user