pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/ghc92 Fix build on Darwin
details: https://anonhg.NetBSD.org/pkgsrc/rev/f8b472768129
branches: trunk
changeset: 374270:f8b472768129
user: pho <pho%pkgsrc.org@localhost>
date: Thu Feb 17 15:57:07 2022 +0000
description:
Fix build on Darwin
diffstat:
lang/ghc92/Makefile | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diffs (23 lines):
diff -r 2d092c2990c2 -r f8b472768129 lang/ghc92/Makefile
--- a/lang/ghc92/Makefile Thu Feb 17 15:48:37 2022 +0000
+++ b/lang/ghc92/Makefile Thu Feb 17 15:57:07 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2022/02/17 07:16:10 pho Exp $
+# $NetBSD: Makefile,v 1.4 2022/02/17 15:57:07 pho Exp $
# -----------------------------------------------------------------------------
# Package metadata
#
@@ -107,6 +107,13 @@
. endif
.endfor
+# MacOS X 10.7 is the oldest OS X version supporting __thread. Although
+# ${WRKSRC}/configure has a check for it, the actual build will fail
+# without this env.
+.if ${OPSYS} == "Darwin"
+ALL_ENV+= MACOSX_DEPLOYMENT_TARGET="10.7"
+.endif
+
# -----------------------------------------------------------------------------
# Security
Home |
Main Index |
Thread Index |
Old Index