Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 087B984D47 for ; Tue, 26 Sep 2023 20:37:18 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id WjuYLLqJzFSs for ; Tue, 26 Sep 2023 20:37:17 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 51C5484D8C for ; Tue, 26 Sep 2023 20:37:17 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 4AA83FBDB; Tue, 26 Sep 2023 20:37:17 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1695760637271060" MIME-Version: 1.0 Date: Tue, 26 Sep 2023 20:37:17 +0000 From: "Jason Bacon" Subject: CVS commit: pkgsrc/math/R To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: bacon@netbsd.org X-Mailer: log_accum Message-Id: <20230926203717.4AA83FBDB@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_1695760637271060 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: bacon Date: Tue Sep 26 20:37:17 UTC 2023 Modified Files: pkgsrc/math/R: Makefile Log Message: math/R: Unbreak build on macOS > 12 R 4.2.0 uses a deprecated function Set MACOSX_DEPLOYMENT_TARGET=12.0 for temporary fix on macOS 13+ To generate a diff of this commit: cvs rdiff -u -r1.241 -r1.242 pkgsrc/math/R/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1695760637271060 Content-Disposition: inline Content-Length: 970 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/math/R/Makefile diff -u pkgsrc/math/R/Makefile:1.241 pkgsrc/math/R/Makefile:1.242 --- pkgsrc/math/R/Makefile:1.241 Fri Jul 21 22:46:50 2023 +++ pkgsrc/math/R/Makefile Tue Sep 26 20:37:17 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.241 2023/07/21 22:46:50 mef Exp $ +# $NetBSD: Makefile,v 1.242 2023/09/26 20:37:17 bacon Exp $ # # If updating this package, please try to ensure PLIST.Darwin is kept in sync @@ -104,6 +104,14 @@ SHAREMODE= 644 CONFIGURE_ARGS.Darwin+= --disable-openmp +# Temporary fix for deprecated function ATSFontFindFromName() in R 4.2.0 +# Newer R versions should eliminate this function and obsolete this hack +# https://trac.macports.org/ticket/66095 +# Darwin 21 corresponds to macOS 12 +.if ${OPSYS} == "Darwin" && ${OS_VERSION:R} > 21 +MAKE_ENV.Darwin+= MACOSX_DEPLOYMENT_TARGET="12.0" +.endif + # R_PAPERSIZE can be: A4, Letter, Legal, Executive .if defined(PAPERSIZE) R_PAPERSIZE?= ${PAPERSIZE} --_----------=_1695760637271060--