apache24: Fix building with Xcode 7 and earlier

This commit is contained in:
nia 2024-03-20 01:45:52 +00:00
parent 2cf8f33bfd
commit e22cee2033
1 changed files with 8 additions and 1 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.122 2023/11/08 13:21:16 wiz Exp $
# $NetBSD: Makefile,v 1.123 2024/03/20 01:45:52 nia Exp $
#
# When updating this package, make sure that no strings like
# "PR 12345" are in the commit message. Upstream likes
@ -41,6 +41,13 @@ CFLAGS.SunOS+= -D_XOPEN_SOURCE=600
CFLAGS.SunOS+= -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1
.endif
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "Darwin" && ${OPSYS_VERSION} < 101300
# Apparently Xcode 8 and later add support for thread_local.
CPPFLAGS+= -DAP_NO_THREAD_LOCAL=1
.endif
BUILDLINK_API_DEPENDS.apr+= apr>=1.5.0
.include "../../devel/apr/buildlink3.mk"
BUILDLINK_API_DEPENDS.apr-util+= apr-util>=1.5.3