check: Fix building on Tiger

This commit is contained in:
nia 2024-03-18 11:42:35 +00:00
parent 1c9cc20ef5
commit 2c0db08868
1 changed files with 13 additions and 0 deletions

13
devel/check/hacks.mk Normal file
View File

@ -0,0 +1,13 @@
# $NetBSD: hacks.mk,v 1.1 2024/03/18 11:42:35 nia Exp $
.ifndef CHECK_HACKS_MK
CHECK_HACKS_MK:=
.include "../../mk/bsd.fast.prefs.mk"
# Needed to get standards-conforming version of unsetenv.
.if ${OPSYS} == "Darwin" && ${OPSYS_VERSION} < 100500
PKG_HACKS+= tiger-unix03
CPPFLAGS+= -D__DARWIN_UNIX03
.endif
.endif