Page MenuHomeFreeBSD

textproc/linux-c7-expat-devel: Add new port

Authored by zirias on Jul 25 2022, 9:04 AM.
Referenced Files
F72535340: D35904.diff
Sat, Dec 9, 6:01 PM
Unknown Object (File)
Wed, Nov 15, 3:43 PM
Unknown Object (File)
Nov 8 2023, 3:08 AM
Unknown Object (File)
Oct 14 2023, 2:49 PM
Unknown Object (File)
Oct 7 2023, 1:57 AM
Unknown Object (File)
Sep 3 2023, 4:56 PM
Unknown Object (File)
Sep 3 2023, 4:55 PM
Unknown Object (File)
Sep 3 2023, 4:55 PM



This contains the headers to build Linux software using expat.
Also add USE_LINUX=expat-devel.

Diff Detail

rP FreeBSD ports repository
No Lint Coverage
No Test Coverage
Build Status
Buildable 46547
Build 43436: arc lint + arc unit

Event Timeline

These new ports would enable me to get rid of several dirty hacks in multimedia/makemkv.

Moin moin

Please run
> git config --add core.hooksPath .hooks
in your ports checkout.

That would warn you on commit that you forgot to add SUBDIR in textproc/Makefile

mfg Tobias

This revision now requires changes to proceed.Jul 25 2022, 9:13 AM

For some more background:

To get MakeMKV to work on FreeBSD, it needs to build a library targeting Linux that's then used by the closed-source makemkvcon binary. This stack of reviews contains three of its four build dependencies. The fourth, ffmpeg, needs to be built in the port and linked statically anyways, because linux-c7 doesn't offer something usable.

For the other ones, I had workarounds so far:

  • for zlib and expat, I used FreeBSD headers (from base resp. ports). This worked, but is slightly fragile.
  • for openssl, FreeBSD headers are unusable cause they are the wrong version, so the makemkv port had to fetch the original distfile to get usable headers.

So, instead using these new ports improves the quality of multimedia/makemkv and also greatly simplifies it (I'm down to 133 lines in my local branch now, and this is after lots of structure improvements and also adding a new knob to make fdk-aac optional when building ffmpeg).

Rebase and move WWW from pkg-descr to Makefile.

This revision is now accepted and ready to land.Sep 11 2022, 10:08 AM