[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 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256424

Gleb Popov <arrowd_at_FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|maintainer-feedback?(haskel |maintainer-feedback+
                   |l_at_FreeBSD.org)              |
             Status|New                         |Open
                 CC|                            |arrowd_at_FreeBSD.org

--- Comment #1 from Gleb Popov <arrowd_at_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
_at__at_ -92,7 +92,7 _at__at_ 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.
Received on Sat Jun 05 2021 - 09:51:18 UTC

Original text of this message