Page MenuHomeFreeBSD

Makefile.inc1: Use ln -n instead of ln -h
ClosedPublic

Authored by ivy on Apr 27 2026, 4:44 AM.
Tags
None
Referenced Files
F167376071: D56656.id176678.diff
Fri, Aug 21, 11:10 AM
F167375624: D56656.diff
Fri, Aug 21, 11:08 AM
Unknown Object (File)
Sat, Aug 15, 11:13 PM
Unknown Object (File)
Thu, Aug 13, 1:53 AM
Unknown Object (File)
Thu, Aug 13, 1:02 AM
Unknown Object (File)
Wed, Aug 12, 1:00 AM
Unknown Object (File)
Mon, Aug 10, 11:27 AM
Unknown Object (File)
Mon, Aug 10, 7:50 AM
Subscribers

Details

Summary

We support both -h and -n, but GNU coreutils only supports -n. This fixes the package build on Linux.

MFC after: 2 weeks
Sponsored by: https://www.patreon.com/bsdivy

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 72585
Build 69468: arc lint + arc unit

Event Timeline

ivy requested review of this revision.Apr 27 2026, 4:44 AM
This revision is now accepted and ready to land.Apr 27 2026, 5:21 AM

Might be nice to have something like ${LN_SYMLINK_FLAGS} set to -Tfs or -hfs. I didn't find other obvious instances in the tree though so perhaps not worth effort right now

ivy retitled this revision from Makefile.inc1: Use ln -T instead of ln -h on Linux to Makefile.inc1: Use ln -n instead of ln -h.Apr 27 2026, 7:36 PM
ivy edited the summary of this revision. (Show Details)
This revision now requires review to proceed.Apr 27 2026, 7:36 PM
This revision is now accepted and ready to land.Apr 27 2026, 7:45 PM
This revision was automatically updated to reflect the committed changes.