From owner-svn-ports-head@freebsd.org Thu Jan 11 20:31:46 2018 Return-Path: Delivered-To: svn-ports-head@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 54A6BE7A8F9; Thu, 11 Jan 2018 20:31:46 +0000 (UTC) (envelope-from tijl@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 2F0E7B1A; Thu, 11 Jan 2018 20:31:46 +0000 (UTC) (envelope-from tijl@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 6F1E919FC0; Thu, 11 Jan 2018 20:31:45 +0000 (UTC) (envelope-from tijl@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w0BKVjRx016677; Thu, 11 Jan 2018 20:31:45 GMT (envelope-from tijl@FreeBSD.org) Received: (from tijl@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w0BKVjWx016674; Thu, 11 Jan 2018 20:31:45 GMT (envelope-from tijl@FreeBSD.org) Message-Id: <201801112031.w0BKVjWx016674@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: tijl set sender to tijl@FreeBSD.org using -f From: Tijl Coosemans Date: Thu, 11 Jan 2018 20:31:45 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r458785 - in head: devel/hs-alex devel/hs-happy devel/hs-happy/files lang/ghc X-SVN-Group: ports-head X-SVN-Commit-Author: tijl X-SVN-Commit-Paths: in head: devel/hs-alex devel/hs-happy devel/hs-happy/files lang/ghc X-SVN-Commit-Revision: 458785 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Jan 2018 20:31:46 -0000 Author: tijl Date: Thu Jan 11 20:31:44 2018 New Revision: 458785 URL: https://svnweb.freebsd.org/changeset/ports/458785 Log: Eliminate USE_AUTOTOOLS from Haskell ports. Let these ports set XMLDOCS_CONF=yes instead and add support for that to bsd.cabal.mk. Remove a patch from devel/hs-happy that is already handled by post-patch in bsd.cabal.mk. Deleted: head/devel/hs-happy/files/ Modified: head/devel/hs-alex/Makefile head/devel/hs-happy/Makefile head/lang/ghc/bsd.cabal.mk Modified: head/devel/hs-alex/Makefile ============================================================================== --- head/devel/hs-alex/Makefile Thu Jan 11 20:29:52 2018 (r458784) +++ head/devel/hs-alex/Makefile Thu Jan 11 20:31:44 2018 (r458785) @@ -13,7 +13,7 @@ LICENSE= BSD3CLAUSE USE_CABAL= QuickCheck>=2 XMLDOCS= doc/alex:html -USE_AUTOTOOLS= autoconf:env +XMLDOCS_CONF= yes STANDALONE= yes EXECUTABLE= alex Modified: head/devel/hs-happy/Makefile ============================================================================== --- head/devel/hs-happy/Makefile Thu Jan 11 20:29:52 2018 (r458784) +++ head/devel/hs-happy/Makefile Thu Jan 11 20:31:44 2018 (r458785) @@ -14,7 +14,7 @@ LICENSE= BSD3CLAUSE USE_CABAL= mtl>=1.0 XMLDOCS= doc/happy:html -USE_AUTOTOOLS= autoconf:env +XMLDOCS_CONF= yes STANDALONE= yes EXECUTABLE= happy Modified: head/lang/ghc/bsd.cabal.mk ============================================================================== --- head/lang/ghc/bsd.cabal.mk Thu Jan 11 20:29:52 2018 (r458784) +++ head/lang/ghc/bsd.cabal.mk Thu Jan 11 20:31:44 2018 (r458785) @@ -178,15 +178,19 @@ HADDOCK_OPTS+= --hyperlink-source --hscolour-css=${HS . endif # HSCOLOUR . endif # HADDOCK_AVAILABLE -. endif +. endif # !XMLDOCS . if defined(XMLDOCS) BUILD_DEPENDS+= docbook-xsl>0:textproc/docbook-xsl \ ${LOCALBASE}/bin/xsltproc:textproc/libxslt +. if defined(XMLDOCS_CONF) +BUILD_DEPENDS+= autoconf>0:devel/autoconf +. endif + USES+= gmake -. endif # !XMLDOCS +. endif # XMLDOCS .endif # DOCS @@ -211,7 +215,7 @@ CONFIGURE_ARGS+= --disable-profiling --disable-library .SILENT: post-patch:: -.if defined(XMLDOCS) && defined(USE_AUTOTOOLS) +.if defined(XMLDOCS) && defined(XMLDOCS_CONF) @${REINPLACE_CMD} -e 's|/usr/local/share/xsl/docbook|${LOCALBASE}/share/xsl/docbook|' \ ${WRKSRC}/doc/configure.ac .endif @@ -237,8 +241,8 @@ do-configure: fi . if ${PORT_OPTIONS:MDOCS} -. if defined(XMLDOCS) && defined(USE_AUTOTOOLS) - cd ${WRKSRC}/doc && ${AUTOCONF} && ./configure --prefix=${PREFIX} +. if defined(XMLDOCS) && defined(XMLDOCS_CONF) + cd ${WRKSRC}/doc && ${LOCALBASE}/bin/autoconf && ./configure --prefix=${PREFIX} . endif . endif # DOCS . endif # target(do-configure)