pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mk/platform mk: Register strnlen as missing on Solaris 10
details: https://anonhg.NetBSD.org/pkgsrc/rev/4be039ee2c35
branches: trunk
changeset: 769924:4be039ee2c35
user: nia <nia%pkgsrc.org@localhost>
date: Tue Nov 23 10:37:59 2021 +0000
description:
mk: Register strnlen as missing on Solaris 10
adapted from PR pkg/56511 from pekdon
diffstat:
mk/platform/SunOS.mk | 13 ++++++++++---
1 files changed, 10 insertions(+), 3 deletions(-)
diffs (29 lines):
diff -r dfd138f8e3ec -r 4be039ee2c35 mk/platform/SunOS.mk
--- a/mk/platform/SunOS.mk Tue Nov 23 10:32:27 2021 +0000
+++ b/mk/platform/SunOS.mk Tue Nov 23 10:37:59 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: SunOS.mk,v 1.80 2020/06/02 16:22:40 jperkin Exp $
+# $NetBSD: SunOS.mk,v 1.81 2021/11/23 10:37:59 nia Exp $
#
# Variable definitions for the SunOS/Solaris operating system.
@@ -68,10 +68,17 @@
_OPSYS_PERL_REQD= # no base version of perl required
_OPSYS_PTHREAD_AUTO= no # -lpthread needed for pthreads
_OPSYS_SHLIB_TYPE= ELF # shared lib type
-_OPSYS_MISSING_FEATURES=asprintf
+
+_OPSYS_MISSING_FEATURES= asprintf
+
.if !exists(/usr/include/err.h)
-_OPSYS_MISSING_FEATURES+=err
+_OPSYS_MISSING_FEATURES+= err
.endif
+
+.if ${OS_VERSION} != "5.11"
+_OPSYS_MISSING_FEATURES+= strnlen
+.endif
+
_PATCH_CAN_BACKUP= yes # native patch(1) can make backups
_PATCH_BACKUP_ARG?= -b -V simple -z # switch to patch(1) for backup suffix
_USE_RPATH= yes # add rpath to LDFLAGS
Home |
Main Index |
Thread Index |
Old Index