aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2023-04-25 17:23:03 +0000
committerGleb Popov <arrowd@FreeBSD.org>2023-04-25 17:25:31 +0000
commitf9a1f46c48e1f50246e63be780bfd0b65d9800d7 (patch)
tree09ed0e9d97a54b8b0a425d03ab0ce509ba2eda3d
parenta5317d3691d7c4a1dcd3209a3ea3bd57edae981b (diff)
downloadports-f9a1f46c48e1f50246e63be780bfd0b65d9800d7.tar.gz
ports-f9a1f46c48e1f50246e63be780bfd0b65d9800d7.zip
Uses/cabal.mk: Extend Clang workaround to FreeBSD 12.4
Reported by: pkg-fallout
-rw-r--r--Mk/Uses/cabal.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mk/Uses/cabal.mk b/Mk/Uses/cabal.mk
index dfed8484b646..92dbec7a9553 100644
--- a/Mk/Uses/cabal.mk
+++ b/Mk/Uses/cabal.mk
@@ -81,8 +81,8 @@ IGNORE= CABAL_PROJECT: invalid value: ${CABAL_PROJECT}
BROKEN= ${USE_CABAL:Mbasement-0.0.1[4-5]} package doesn't compile on i386
. endif
-. if ${OSVERSION} >= 1301000 && ${OSVERSION} < 1302000 && defined(USE_CABAL) && ${USE_CABAL:Mtext-2.*}
-# Band-aids for a Clang bug that is shipped with FreeBSD 13.1
+. if ${OSVERSION} < 1302000 && defined(USE_CABAL) && ${USE_CABAL:Mtext-2.*}
+# Band-aids for a Clang bug that is shipped with FreeBSD < 13.2
BUILD_DEPENDS+= clang15:devel/llvm15
BUILD_ARGS+= --ghc-options='-pgmc clang++15'
. endif