Hi, asking again wether it's ok to import those. For test-building, you'll need the ghc update linked below and the hs-random diff at the end of this mail. I think, with those two new ports I could start the big haskell churn and commit ghc-8.2.2 and about 110 hs-ports which also need to be touched/updated.
If people are upset because of hs-echo (which *is* stupid and exists only because some standard Haskell functions don't work on Windows), I could also try to patch cabal-install to not make use of it and use hGetEcho/hSetEcho again. Ciao, Kili On Wed, Dec 27, 2017 at 06:18:09PM +0100, Matthias Kilian wrote: > for updating devel/cabal-install to version 2.0.0.1 (which is probably > the best version for use with ghc-8.2.2), two new hs-ports are needed: > > devel/hs-echo: > > COMMENT = cross-platform echoing terminal input > > DESCR: > > The base library exposes the hGetEcho and hSetEcho functions for > querying and setting echo status, but unfortunately, neither function > works with MinTTY consoles on Windows. > This library provides an alternative interface which works with > both MinTTY and other consoles. > > devel/hs-edit-distance: > > COMMENT = Levenshtein edit distances > > DESCR: > > Optimized edit distances for fuzzy matching, including Levenshtein > and restricted Damerau-Levenshtein algorithms. > > If you want to build them, you'll also have to build ghc-8.2.2 from the > diff I sent about twoo weeks ago: > > https://marc.info/?l=openbsd-ports&m=151312144401005&w=2 Index: Makefile =================================================================== RCS file: /cvs/ports/devel/hs-random/Makefile,v retrieving revision 1.11 diff -u -p -r1.11 Makefile --- Makefile 7 Nov 2017 21:19:40 -0000 1.11 +++ Makefile 12 Jan 2018 21:07:42 -0000 @@ -7,7 +7,7 @@ COMMENT = random number library PORTROACH = ignore:1 DISTNAME = random-1.1 -REVISION = 2 +REVISION = 3 CATEGORIES = devel MAINTAINER = Matthias Kilian <k...@openbsd.org> @@ -19,6 +19,6 @@ MODULES = lang/ghc MODGHC_BUILD = cabal hackage haddock register -MODGHC_PACKAGE_KEY = 54KmMHXjttlERYcr1mvsAe +MODGHC_PACKAGE_KEY = LLUGZ7T9DqQ5vN0Jbcd0We .include <bsd.port.mk> Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/devel/hs-random/pkg/PLIST,v retrieving revision 1.5 diff -u -p -r1.5 PLIST --- pkg/PLIST 19 Sep 2015 08:01:03 -0000 1.5 +++ pkg/PLIST 12 Jan 2018 21:07:42 -0000 @@ -14,12 +14,9 @@ share/doc/hs-${DISTNAME}/LICENSE share/doc/hs-${DISTNAME}/html/ share/doc/hs-${DISTNAME}/html/System-Random.html share/doc/hs-${DISTNAME}/html/doc-index.html -share/doc/hs-${DISTNAME}/html/frames.html share/doc/hs-${DISTNAME}/html/haddock-util.js share/doc/hs-${DISTNAME}/html/hslogo-16.png -share/doc/hs-${DISTNAME}/html/index-frames.html share/doc/hs-${DISTNAME}/html/index.html -share/doc/hs-${DISTNAME}/html/mini_System-Random.html share/doc/hs-${DISTNAME}/html/minus.gif share/doc/hs-${DISTNAME}/html/ocean.css share/doc/hs-${DISTNAME}/html/plus.gif
hs-echo.tgz
Description: application/tar-gz
hs-edit-distance.tgz
Description: application/tar-gz