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
F171109180: D56656.diff
Tue, Sep 8, 6:24 PM
F171054994: D56656.id176668.diff
Tue, Sep 8, 10:45 AM
Unknown Object (File)
Sun, Sep 6, 9:06 PM
Unknown Object (File)
Sun, Sep 6, 8:38 PM
Unknown Object (File)
Sun, Sep 6, 6:22 PM
Unknown Object (File)
Sun, Sep 6, 8:15 AM
Unknown Object (File)
Sun, Sep 6, 5:35 AM
Unknown Object (File)
Sat, Sep 5, 8:45 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.