Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Nov 2018 13:41:27 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r486008 - head/lang/ghc
Message-ID:  <201811271341.wARDfReG041847@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Tue Nov 27 13:41:27 2018
New Revision: 486008
URL: https://svnweb.freebsd.org/changeset/ports/486008

Log:
  Fix build on head amd64 after ld.bfd is no longer installed
  
  With hat:	portmgr

Modified:
  head/lang/ghc/bsd.ghc.mk

Modified: head/lang/ghc/bsd.ghc.mk
==============================================================================
--- head/lang/ghc/bsd.ghc.mk	Tue Nov 27 13:29:11 2018	(r486007)
+++ head/lang/ghc/bsd.ghc.mk	Tue Nov 27 13:41:27 2018	(r486008)
@@ -103,6 +103,9 @@ CONFIGURE_ARGS+=	--enable-dtrace=0
 .if ${OSVERSION} < 1200000
 USE_GCC=	yes
 .else
+.  if !exists(/usr/bin/ld.bfd)
+USE_BINUTILS=	yes
+.  endif
 LD=		ld.bfd
 .endif
 CONFIGURE_ENV+=		CC=${CC} LD=${LD}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201811271341.wARDfReG041847>