Created attachment 221087 [details] Update to 2.11.3.1 - Update to 2.11.3.1
Why did you remove EMBED_DATA option?
Hi Wen, This version of hs-pandoc depends on citeproc-3.0.1, loaded via cabal. Do we need a seperate port textproc/hs-pandoc-citeproc anymore (v0.17.1 ATM)?
(In reply to Gleb Popov from comment #1) Now the build require EMBED enable.
(In reply to Rainer Hurling from comment #2) The citeproc package also provides a standalone executable. Now that citeproc is included in pandoc, it is also of no use?
A commit references this bug: Author: arrowd Date: Wed Dec 30 16:12:13 UTC 2020 New revision: 559667 URL: https://svnweb.freebsd.org/changeset/ports/559667 Log: textproc/hs-pandoc: Update to 2.11.3.1 PR: 252266 Changes: head/textproc/hs-pandoc/Makefile head/textproc/hs-pandoc/distinfo head/textproc/hs-pandoc/pkg-plist
(In reply to Wen Heping from comment #3) You got confused by the way cabal-install utility works. When you ran `make cabal-extract-deps`, it picked up cabal.project file that is distributed in pandoc tarball, and it has some flags set/unset. Another problem is that you seem to have used GHC 8.8.4 during the updating process, because your patch didn't work for me with GHC 8.10.2. You also need to turn off *all OPTIONS* before regenerating main USE_CABAL knob and then turn them on one by one, fixing OPT_USE_CABAL knobs. So, I had to do the update from scratch. But thanks anyways!
(In reply to Gleb Popov from comment #6) I use 8.10.2.
(In reply to Wen Heping from comment #7) Hum, strange. When I tried your patch, cabal refused to use unliftio-core-0.2.0.1 and I had to use 0.2.0.1_1 instead.