aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2026-04-27 21:26:45 +0000
committerLexi Winter <ivy@FreeBSD.org>2026-07-25 13:01:23 +0000
commit0851f28403e3eaefd0973eac1d4287765a70d517 (patch)
tree24eecddd40cee3b1e959824d7a39cc595cff7ce4
parent21419de0a45dca22a950555c82fe14b6d5192a46 (diff)
Makefile.inc1: Use ln -n instead of ln -h
We support both -h and -n, but GNU coreutils only supports -n, so use that instead. This fixes the package build on Linux. MFC after: 2 weeks Reviewed by: (wosch, imp) (previous version), emaste Better fix than the original patch suggested by: jrtc27 Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D56656 (cherry picked from commit d455c4bb69eca975854262207687db50a5edc434)
-rw-r--r--Makefile.inc12
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index c2893782197a..09c986d4a985 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2412,7 +2412,7 @@ real-sign-packages: _pkgbootstrap .PHONY
${REPODIR}/${PKG_ABI}/${PKG_VERSION} \
${PKG_REPO_SIGNING_KEY} ; \
cd ${REPODIR}/${PKG_ABI}; \
- ln -hfs ${PKG_OUTPUT_DIR} latest
+ ln -nfs ${PKG_OUTPUT_DIR} latest
#
#