Page MenuHomeFreeBSD

Hacks for installing data files for Haskell ports.
ClosedPublic

Authored by arrowd on Jun 8 2019, 6:25 AM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Dec 11, 11:56 AM
Unknown Object (File)
Fri, Dec 6, 2:29 PM
Unknown Object (File)
Wed, Dec 4, 6:05 AM
Unknown Object (File)
Tue, Dec 3, 6:30 AM
Unknown Object (File)
Sun, Dec 1, 1:51 AM
Unknown Object (File)
Sun, Dec 1, 1:51 AM
Unknown Object (File)
Sun, Dec 1, 1:51 AM
Unknown Object (File)
Sun, Dec 1, 1:51 AM
Subscribers
None

Details

Summary

For ports with USES=cabal install a wrapper shell script instead of a real executable into /bin/, that sets some environment variables to workaround https://github.com/haskell/cabal/issues/5997
While there, update bunch of Haskell ports, make them install their data files.
Unbreak math/hs-Agda.

PR: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237878

Test Plan

poud bulk -t for all Haskell ports for i386 and amd64 12.0-RELEASE.

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 24770
Build 23531: arc lint + arc unit

Event Timeline

devel/hs-git-annex/pkg-plist
1

why are only the manpages in the plist-file and not the binaries?

devel/hs-git-annex/pkg-plist
1

Binaries are added automatically in Uses/cabal.mk based on EXECUTABLES variable.

Does for example x11-wm/hs-xmonad not also require a bump? It also has an EXECUTABLES=xmonad. In short, all hs-ports that define EXECUTABLES should be bumped, as their plist changes due to the new wrapper script: or did I misread the cabal.mk change?

devel/hs-git-annex/Makefile
167

^ then what about this?

arrowd marked an inline comment as done.

Remove PLIST_FILES now that devel/hs-git-annex has pkg-plist.

Does for example x11-wm/hs-xmonad not also require a bump? It also has an EXECUTABLES=xmonad. In short, all hs-ports that define EXECUTABLES should be bumped, as their plist changes due to the new wrapper script: or did I misread the cabal.mk change?

x11-wm/hs-xmonad uses old machinery (lang/ghc/bsd.cabal.mk), so it is not affected. All ports that used new one were bumped.

devel/hs-git-annex/Makefile
167

Right, missed that, fixed.

Looks good to me then :)

This revision is now accepted and ready to land.Jun 11 2019, 3:38 PM
This revision was automatically updated to reflect the committed changes.
arrowd marked an inline comment as done.