Skip to content

Commit

Permalink
Uses/cabal.mk: Extend Clang workaround to FreeBSD 12.4
Browse files Browse the repository at this point in the history
Reported by:	pkg-fallout
  • Loading branch information
arrowd committed Apr 25, 2023
1 parent a5317d3 commit f9a1f46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Mk/Uses/cabal.mk
Expand Up @@ -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
Expand Down

0 comments on commit f9a1f46

Please sign in to comment.