git: 6094cc1bbeea - stable/12 - stand: use portable ln -n instead of ln -h

From: Kyle Evans <kevans_at_FreeBSD.org>
Date: Fri, 08 Oct 2021 16:09:03 UTC
The branch stable/12 has been updated by kevans:

URL: https://cgit.FreeBSD.org/src/commit/?id=6094cc1bbeea09e218e3bf70e31382ba7bbaa5a0

commit 6094cc1bbeea09e218e3bf70e31382ba7bbaa5a0
Author:     Alex Richardson <arichardson@FreeBSD.org>
AuthorDate: 2020-08-06 20:46:18 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2021-10-08 08:12:07 +0000

    stand: use portable ln -n instead of ln -h
    
    This fixes the build on Linux
    
    Differential Revision: https://reviews.freebsd.org/D24783
    
    (cherry picked from commit d8e1e85c42f989df0343e2130de542d553a691c9)
---
 stand/defs.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/stand/defs.mk b/stand/defs.mk
index 431b629939d8..f39710d800b5 100644
--- a/stand/defs.mk
+++ b/stand/defs.mk
@@ -238,6 +238,6 @@ ${_ILINKS}: .NOMETA
 	esac ; \
 	path=`(cd $$path && /bin/pwd)` ; \
 	${ECHO} ${.TARGET} "->" $$path ; \
-	ln -fhs $$path ${.TARGET}
+	ln -fns $$path ${.TARGET}
 .endif # !NO_OBJ
 .endif # __BOOT_DEFS_MK__