aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLexi Winter <ivy@FreeBSD.org>2026-04-27 21:26:45 +0000
committerLexi Winter <ivy@FreeBSD.org>2026-04-27 21:26:45 +0000
commitd455c4bb69eca975854262207687db50a5edc434 (patch)
tree889a45346a6a9205163bbe50c1b7a6ad1a70ea69
parent0068c706f8ce872c735ddcc383c5cd5ab85acc88 (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
-rw-r--r--Makefile.inc12
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1
index ea066d8aad8a..9b8cc4234ae1 100644
--- a/Makefile.inc1
+++ b/Makefile.inc1
@@ -2418,7 +2418,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
#
#