pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/apache24
Module Name: pkgsrc
Committed By: nia
Date: Wed Mar 20 01:45:52 UTC 2024
Modified Files:
pkgsrc/www/apache24: Makefile
Log Message:
apache24: Fix building with Xcode 7 and earlier
To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 pkgsrc/www/apache24/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/apache24/Makefile
diff -u pkgsrc/www/apache24/Makefile:1.122 pkgsrc/www/apache24/Makefile:1.123
--- pkgsrc/www/apache24/Makefile:1.122 Wed Nov 8 13:21:16 2023
+++ pkgsrc/www/apache24/Makefile Wed Mar 20 01:45:52 2024
@@ -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
Home |
Main Index |
Thread Index |
Old Index