apache24: Fix building with Xcode 7 and earlier
This commit is contained in:
parent
2cf8f33bfd
commit
e22cee2033
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue