pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/ghc92



Module Name:    pkgsrc
Committed By:   pho
Date:           Thu Feb 17 15:57:07 UTC 2022

Modified Files:
        pkgsrc/lang/ghc92: Makefile

Log Message:
Fix build on Darwin


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/ghc92/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/ghc92/Makefile
diff -u pkgsrc/lang/ghc92/Makefile:1.3 pkgsrc/lang/ghc92/Makefile:1.4
--- pkgsrc/lang/ghc92/Makefile:1.3      Thu Feb 17 07:16:10 2022
+++ pkgsrc/lang/ghc92/Makefile  Thu Feb 17 15:57:07 2022
@@ -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 @@ CONFIGURE_ENV+=    CONF_CC_OPTS_STAGE${stag
 .  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