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
Unknown Object (File)
Thu, May 21, 7:30 PM
Unknown Object (File)
Thu, May 14, 11:36 PM
Unknown Object (File)
Thu, May 14, 12:16 PM
Unknown Object (File)
Thu, May 14, 12:16 PM
Unknown Object (File)
Thu, May 14, 2:23 AM
Unknown Object (File)
Wed, May 13, 5:16 PM
Unknown Object (File)
Tue, May 12, 10:43 PM
Unknown Object (File)
Mon, May 11, 2:02 PM
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 Not Applicable
Unit
Tests Not Applicable

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.