From owner-svn-ports-all@freebsd.org Thu Aug 10 20:55:05 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8B22EDDCE5D; Thu, 10 Aug 2017 20:55:05 +0000 (UTC) (envelope-from tcberner@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 mx1.freebsd.org (Postfix) with ESMTPS id 565647140C; Thu, 10 Aug 2017 20:55:05 +0000 (UTC) (envelope-from tcberner@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v7AKt4Zk093512; Thu, 10 Aug 2017 20:55:04 GMT (envelope-from tcberner@FreeBSD.org) Received: (from tcberner@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v7AKt4sJ093510; Thu, 10 Aug 2017 20:55:04 GMT (envelope-from tcberner@FreeBSD.org) Message-Id: <201708102055.v7AKt4sJ093510@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tcberner set sender to tcberner@FreeBSD.org using -f From: "Tobias C. Berner" Date: Thu, 10 Aug 2017 20:55:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r447723 - in head/lang/ghc: . files X-SVN-Group: ports-head X-SVN-Commit-Author: tcberner X-SVN-Commit-Paths: in head/lang/ghc: . files X-SVN-Commit-Revision: 447723 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 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: Thu, 10 Aug 2017 20:55:05 -0000 Author: tcberner Date: Thu Aug 10 20:55:04 2017 New Revision: 447723 URL: https://svnweb.freebsd.org/changeset/ports/447723 Log: Fix patch for ar/ld/gcc paths. * In r447548 the updated patch unfortunately contained the sed'ed values. * Also make the sed call not echo during build again. Reported by: Gleb Popov <6yearold@gmail.com> Approved by: pgj Differential Revision: https://reviews.freebsd.org/D11961 Modified: head/lang/ghc/Makefile head/lang/ghc/files/patch-libraries__Cabal__Cabal__Distribution__Simple__Program__Builtin.hs Modified: head/lang/ghc/Makefile ============================================================================== --- head/lang/ghc/Makefile Thu Aug 10 20:50:41 2017 (r447722) +++ head/lang/ghc/Makefile Thu Aug 10 20:55:04 2017 (r447723) @@ -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/pgj/:boot @@ -190,7 +191,7 @@ post-install-script: .endif post-patch: - ${REINPLACE_CMD} -e 's|%%CC%%|${CC}|; \ + @${REINPLACE_CMD} -e 's|%%CC%%|${CC}|; \ s|%%AR%%|${AR}|; \ s|%%LD%%|${LD}|' \ ${WRKSRC}/libraries/Cabal/Cabal/Distribution/Simple/Program/Builtin.hs Modified: head/lang/ghc/files/patch-libraries__Cabal__Cabal__Distribution__Simple__Program__Builtin.hs ============================================================================== --- head/lang/ghc/files/patch-libraries__Cabal__Cabal__Distribution__Simple__Program__Builtin.hs Thu Aug 10 20:50:41 2017 (r447722) +++ head/lang/ghc/files/patch-libraries__Cabal__Cabal__Distribution__Simple__Program__Builtin.hs Thu Aug 10 20:55:04 2017 (r447723) @@ -15,13 +15,13 @@ gccProgram = (simpleProgram "gcc") { - programFindVersion = findProgramVersion "-dumpversion" id - } -+ programFindLocation = \v p -> findProgramOnSearchPath v p "cc" ++ programFindLocation = \v p -> findProgramOnSearchPath v p "%%CC%%" +} arProgram :: Program -arProgram = simpleProgram "ar" +arProgram = (simpleProgram "ar") { -+ programFindLocation = \v p -> findProgramOnSearchPath v p "ar" ++ programFindLocation = \v p -> findProgramOnSearchPath v p "%%AR%%" +} stripProgram :: Program @@ -32,7 +32,7 @@ ldProgram :: Program -ldProgram = simpleProgram "ld" +ldProgram = (simpleProgram "ld") { -+ programFindLocation = \v p -> findProgramOnSearchPath v p "ld" ++ programFindLocation = \v p -> findProgramOnSearchPath v p "%%LD%%" + } tarProgram :: Program