From owner-svn-ports-all@freebsd.org Tue Nov 27 13:41:28 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 648FE114C689; Tue, 27 Nov 2018 13:41:28 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0AA677B1D7; Tue, 27 Nov 2018 13:41:28 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E07F51C093; Tue, 27 Nov 2018 13:41:27 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id wARDfRCv041848; Tue, 27 Nov 2018 13:41:27 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id wARDfReG041847; Tue, 27 Nov 2018 13:41:27 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201811271341.wARDfReG041847@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Tue, 27 Nov 2018 13:41:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r486008 - head/lang/ghc X-SVN-Group: ports-head X-SVN-Commit-Author: antoine X-SVN-Commit-Paths: head/lang/ghc X-SVN-Commit-Revision: 486008 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 0AA677B1D7 X-Spamd-Result: default: False [1.61 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_SPAM_LONG(0.47)[0.465,0]; NEURAL_SPAM_MEDIUM(0.64)[0.643,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_SPAM_SHORT(0.50)[0.500,0] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Nov 2018 13:41:28 -0000 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}