aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2023-09-28 10:41:21 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2023-09-28 10:41:21 +0000
commitdb9dbfa336ebd7bb0d93d7a2638fc1d2b7505434 (patch)
treefb145848d9e67a8d0a10800ee6448be42c940559
parent2d7a726377ed51777eb1a95ccd4cd7b194b07cad (diff)
downloadports-db9dbfa336ebd7bb0d93d7a2638fc1d2b7505434.tar.gz
ports-db9dbfa336ebd7bb0d93d7a2638fc1d2b7505434.zip
emulators/pcsx2: Mark as BROKEN before 13.2
Pcsx2 needs a libc++ with std::bit_cast support (introduced in 13.2 with commit 4b6eb0e63c69) PR: 273889 Reported by: diizzy
-rw-r--r--emulators/pcsx2/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/emulators/pcsx2/Makefile b/emulators/pcsx2/Makefile
index df7a5a1c720a..6f917ba94d19 100644
--- a/emulators/pcsx2/Makefile
+++ b/emulators/pcsx2/Makefile
@@ -93,4 +93,11 @@ Makefile.tuples::
https://github.com/${PORTNAME}/${PORTNAME} . && \
${SH} ${FILESDIR}/gen_gh_tuple.sh >> ${.CURDIR}/Makefile.tuples
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+# Fixed in 13.2 with commit 4b6eb0e63c69 (libc++ update)
+.if (${OSVERSION} <= 1301503)
+BROKEN= needs libc++ with std::bit_cast support
+.endif
+
+.include <bsd.port.post.mk>