[Bug 256424] lang/ghc build fails on 14-CURRENT under synth

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 05 Jun 2021 09:51:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256424

Gleb Popov <arrowd@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|maintainer-feedback?(haskel |maintainer-feedback+
                   |l@FreeBSD.org)              |
             Status|New                         |Open
                 CC|                            |arrowd@FreeBSD.org

--- Comment #1 from Gleb Popov <arrowd@FreeBSD.org> ---
Can you please try this patch?

diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index 93c57dca4853..4bfcf607ceae 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -92,7 +92,7 @@ PORTDOCS=             *
 BUILD_DEPENDS+=        ${LOCALBASE}/lib/compat/libncursesw.so.8:misc/compat12x
 .endif

-.if ${ARCH} == powerpc64
+.if ${ARCH} == powerpc64 || ${OSVERSION} >= 1400018
 CONFIGURE_ARGS+=       --enable-dtrace=0
 .endif

-- 
You are receiving this mail because:
You are the assignee for the bug.