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)
Sun, May 10, 4:07 AM
Unknown Object (File)
Sat, May 9, 5:22 PM
Unknown Object (File)
Fri, May 8, 7:14 PM
Unknown Object (File)
Fri, May 1, 10:22 PM
Unknown Object (File)
Fri, Apr 24, 4:45 AM
Unknown Object (File)
Thu, Apr 23, 2:42 AM
Unknown Object (File)
Sun, Apr 19, 8:54 PM
Unknown Object (File)
Sun, Apr 19, 7: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

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

devel/hs-git-annex/pkg-plist
1 ↗(On Diff #58391)

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

devel/hs-git-annex/pkg-plist
1 ↗(On Diff #58391)

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 ↗(On Diff #58391)

^ 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 ↗(On Diff #58391)

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.