git: d455c4bb69ec - main - Makefile.inc1: Use ln -n instead of ln -h
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 27 Apr 2026 22:06:38 UTC
The branch main has been updated by ivy:
URL: https://cgit.FreeBSD.org/src/commit/?id=d455c4bb69eca975854262207687db50a5edc434
commit d455c4bb69eca975854262207687db50a5edc434
Author: Lexi Winter <ivy@FreeBSD.org>
AuthorDate: 2026-04-27 21:26:45 +0000
Commit: Lexi Winter <ivy@FreeBSD.org>
CommitDate: 2026-04-27 21:26:45 +0000
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
---
Makefile.inc1 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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
#
#