Alexander Polakov <p...@sdf.org> wrote: > * Predrag Punosevac <punoseva...@gmail.com> [121205 00:40]: > > On Mon, Dec 03, 2012 at 10:32:56PM +0100, Matthias Kilian wrote: > > > I'd like to add --enable-tests by default in ghc.port.mk, unless a > > > hs-ports has set NO_REGRESS=Yes. > > [...] > > > > This is an OT. Any chance that one of you Haskell guys gets pandoc > > ported to OpenBSD. > > > > http://johnmacfarlane.net/pandoc/ > > > > P.S. I tried installing with cabal but it just returns a slue of > > complains. > > > > pandoc installs and works fine here on -current/i386.
I can confirm this! I just compiled cabal-install from ports on the i386 current. $ uname -a OpenBSD foo.my.domain 5.2 GENERIC.MP#107 i386 Inspite $ cabal update Downloading the latest package list from hackage.haskell.org Note: there is a new version of cabal-install available. To upgrade, run: cabal install cabal-install I didn't want to install new cabal-install I just went with the one from ports. This is the result Registering pandoc-1.9.4.5... Preprocessing executable 'make-pandoc-man-pages' for pandoc-1.9.4.5... [1 of 1] Compiling Main ( man/make-pandoc-man-pages.hs, dist/build/make-pandoc-man-pages/make-pandoc-man-pages-tmp/Main.o ) Linking dist/build/make-pandoc-man-pages/make-pandoc-man-pages ... /usr/local/lib/ghc/libHSrts.a(RtsFlags.o)(.text+0x2a2): In function `copyArg': : warning: strcpy() is almost always misused, please use strlcpy() /usr/local/lib/ghc/libHSrts.a(RtsUtils.o)(.text+0x2f2): In function `showStgWord64': : warning: sprintf() is often misused, please use snprintf() Installing library in /home/predrag/.cabal/lib/pandoc-1.9.4.5/ghc-7.4.2 Installing executable(s) in /home/predrag/.cabal/bin Registering pandoc-1.9.4.5... $ So it comes out successfully. Best, Predrag > > -- > Alexander Polakov | plhk.ru