[Bug 262083] lang/twelf: Maintainer fix for modern lang/mlton versions, fix build on FreeBSD 12,13

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 21 Feb 2022 05:09:31 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262083

            Bug ID: 262083
           Summary: lang/twelf: Maintainer fix for modern lang/mlton
                    versions, fix build on FreeBSD 12,13
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: beyert@cs.ucr.edu

Created attachment 231980
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=231980&action=edit
[PATCH] fix build of lang/twelf with modern lang/mlton versions,  adding mlton
mlb build files from svn, use svnliteversion in base system, add  LIB_DEPENDS,
fix portlint warnings

This patch makes the following changes:

  *  Fixes build of lang/twelf, both on modern versions of FreeBSD (see next
point), but also with modern versions of lang/mlton

  *  Unbreak port for modern FreeBSD versions such as 12, 13, and likely 14

  *  Bring in mlb files from SVN to get this version to build with modern mlton
versions

  *  update LIB_DEPENDS with new dependencies (tested with empty build on
FreeBSD 13 amd64 bhyve VM)

  *  address missing executable svnversion on some machines (patches build
system to use base system svnliteversion instead, in case this is needed later)

  *  address portlint warnings

Much like lang/urweb, lang/twelf may require PR #261820 to be applied, at least
for i386 and FreeBSD 14 to work:

I strongly recommend to apply the patch from PR #261820 "lang/mlton: Maintainer
potential fix for build on FreeBSD 14, potential fix for i386 (all versions)",
where I am also the maintainer, as this should resolve issues with building the
build dependency mlton on i386 as well as FreeBSD 14:

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

-- 
You are receiving this mail because:
You are the assignee for the bug.