Date: Mon, 7 Jan 2013 16:11:30 +0900 (JST) From: Hiroto Kagotani <hiroto.kagotani@gmail.com> To: FreeBSD-gnats-submit@freebsd.org Cc: haskell@freebsd.org Subject: ports/175087: [PATCH] lang/ghc: build fails if dblatex is installed Message-ID: <201301070711.r077BUoJ065158@serv52.infsys.cne.okayama-u.ac.jp> Resent-Message-ID: <201301070720.r077K0eM041501@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 175087 >Category: ports >Synopsis: [PATCH] lang/ghc: build fails if dblatex is installed >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jan 07 07:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Hiroto Kagotani >Release: FreeBSD 9.0-RELEASE-p3 amd64 >Organization: >Environment: System: FreeBSD myhost.mydomain 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12 02:52:29 UTC 2012 >Description: When dblatex has been installed, lang/ghc can not be built. The error message is: [snip] Build users_guide.ps latex failed users_guide.tex:3996: Undefined control sequence \Documents. [snip] users_guide.tex: Emergency stop. Unexpected error occured [ -f docs/users_guide/users_guide.ps ] gmake[1]: *** [docs/users_guide/users_guide.ps] Error 1 [snip] Port maintainer (haskell@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.99_6 (mode: change, diff: suffix) >How-To-Repeat: Install textproc/dblatex Then do make in lang/ghc >Fix: This fix is not the best. The best one should enable the use of dblatex for building PDF/PS documentation. --- ghc-7.4.2.patch begins here --- diff -ruN --exclude=CVS ../ghc.orig/Makefile ./Makefile --- ../ghc.orig/Makefile 2012-12-29 06:06:08.000000000 +0900 +++ ./Makefile 2013-01-07 14:21:55.000000000 +0900 @@ -260,6 +260,8 @@ @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \ ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|^DblatexCmd=.*|DblatexCmd=|g' \ + ${WRKSRC}/configure pre-configure: @${MKDIR} ${TMPDIR} --- ghc-7.4.2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301070711.r077BUoJ065158>