Page MenuHomeFreeBSD

lang/ghc: Update to 8.4.4 and copy current version to lang/ghc843.
ClosedPublic

Authored by arrowd on Nov 6 2018, 11:28 AM.
Tags
None
Referenced Files
F115249999: D17866.id50311.diff
Mon, Apr 21, 9:09 PM
Unknown Object (File)
Mon, Apr 21, 2:53 PM
Unknown Object (File)
Sun, Apr 6, 3:24 PM
Unknown Object (File)
Fri, Apr 4, 8:33 AM
Unknown Object (File)
Sun, Mar 30, 9:17 AM
Unknown Object (File)
Feb 27 2025, 7:25 AM
Unknown Object (File)
Feb 26 2025, 9:31 AM
Unknown Object (File)
Feb 26 2025, 5:49 AM
Subscribers
None

Details

Summary

I decided to keep older versions of GHC ports in tree to easen producing binary distributions for Haskell Stack.
These ports are not intended to be used instead of lang/ghc port to build hs-* ports, so no fiddling with DEFAULT_VERSIONS is done.

Change log:

  • Add "amd64-portbld-freebsd" LLVM target.
  • Refresh patch for OSMem.c.

-Remove now obsolete hunk from patch-configure.ac.

-Pop "CONFIGURE_ENV+=OPT=opt50 LLC=llc50" out of ARM .if clause.

-Refresh patch-llvm-targets patch.

-Set "opt" and "llc" executables via settings file.

  • Create lang/ghc843 port from lang/ghc one.

-Factor out common GHC port code into bsd.ghc.mk.

  • Share pkg-plist between lang/ghc and lang/ghc843.

-lang/ghc: Add patch to fix build on ARM arches.

Test Plan

Done poud bulk */hs-* devel/stack textproc/cgrep on 12.0-BETA3 i386/amd64 and 11.2-RELEASE i386/amd64.
ARM testing done by Mikael Urankar <mikael.urankar@gmail.com>

Diff Detail

Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 20764
Build 20165: arc lint + arc unit

Event Timeline

Make sure you have create the new ports via svn cp, so that it has the history.

lang/ghc/bsd.ghc.mk
6

^ new "created by" should not be added, unless you *really* want it :D

  • Remove "Created by" comment.

Looks good to me.

Make sure you do an svn cp of lang/ghc to lang/ghc843!

This revision is now accepted and ready to land.Nov 18 2018, 1:11 PM
This revision was automatically updated to reflect the committed changes.