lang/ghc: Turn off DTrace support as it breaks building with BOOT option when installed ghc also came from ports.

PR:		228727
Reported by:	raichoo <raichoo@googlemail.com>
Approved by:	tcberner (mentor)
This commit is contained in:
Gleb Popov 2018-06-04 11:03:01 +00:00
parent 94772f1e62
commit 4e3824f6cf
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=471538

View File

@ -3,6 +3,7 @@
PORTNAME= ghc
PORTVERSION= ${GHC_VERSION}
PORTREVISION= 1
CATEGORIES= lang haskell
MASTER_SITES= http://www.haskell.org/ghc/dist/${PORTVERSION}/:source \
LOCAL/arrowd/:boot
@ -92,9 +93,10 @@ BOOT_GHC_VERSION= 8.4.2
DISTFILES+= ghc-${BOOT_GHC_VERSION}-boot-${ARCH}-freebsd${EXTRACT_SUFX}:boot
.endif # MBOOT
# Turn off for a while, see PR 228727
CONFIGURE_ARGS+= --enable-dtrace=0
.if ${OSVERSION} < 1200000
USE_GCC= yes
CONFIGURE_ARGS+= --enable-dtrace=0
.else
LD= ld.bfd
.endif