pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk/platform mk/platform: Add -s to ln always, because ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/819944dcaaff
branches:  trunk
changeset: 448825:819944dcaaff
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon Mar 15 16:17:59 2021 +0000

description:
mk/platform: Add -s to ln always, because Haiku does not support hardlink

Supplied by jperkin@. Thak you.

diffstat:

 mk/platform/Haiku.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r b8dba15caecf -r 819944dcaaff mk/platform/Haiku.mk
--- a/mk/platform/Haiku.mk      Mon Mar 15 16:05:49 2021 +0000
+++ b/mk/platform/Haiku.mk      Mon Mar 15 16:17:59 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Haiku.mk,v 1.16 2021/03/15 14:20:01 ryoon Exp $
+# $NetBSD: Haiku.mk,v 1.17 2021/03/15 16:17:59 ryoon Exp $
 #
 # Variable definitions for the Haiku operating system.
 
@@ -62,6 +62,9 @@
 
 _OPSYS_CAN_CHECK_SHLIBS=       no # can't use readelf in check/bsd.check-vars.mk
 
+# Haiku does not support hardlink as of R1/beta2. Use symlink always.
+TOOLS_ARGS.ln=                 -s
+
 _OPSYS_SUPPORTS_CWRAPPERS=     yes
 
 # check for maximum command line length and set it in configure's environment,



Home | Main Index | Thread Index | Old Index