aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGleb Popov <arrowd@FreeBSD.org>2023-03-24 17:21:24 +0000
committerGleb Popov <arrowd@FreeBSD.org>2023-03-24 17:38:50 +0000
commit565a7ea09bdb7188c672044fe5bd05f9b48dffba (patch)
treecded323c1924deb44414c5076f89e1e0854c93c7
parent6b8f8d82b8871d0010cf16b711b5f8372546499d (diff)
downloadports-565a7ea09bdb7188c672044fe5bd05f9b48dffba.tar.gz
ports-565a7ea09bdb7188c672044fe5bd05f9b48dffba.zip
Uses/cabal.mk: Extend the text-2 workaround to 12.3-RELEASE.
-rw-r--r--Mk/Uses/cabal.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Mk/Uses/cabal.mk b/Mk/Uses/cabal.mk
index dfed8484b646..9654ac1b0c11 100644
--- a/Mk/Uses/cabal.mk
+++ b/Mk/Uses/cabal.mk
@@ -81,7 +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.*}
+. if ((${OSVERSION} >= 1301000 && ${OSVERSION} < 1302000) \
+ || ${OSVERSION} < 1204000) && defined(USE_CABAL) && ${USE_CABAL:Mtext-2.*}
# Band-aids for a Clang bug that is shipped with FreeBSD 13.1
BUILD_DEPENDS+= clang15:devel/llvm15
BUILD_ARGS+= --ghc-options='-pgmc clang++15'