pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mk/platform
Module Name: pkgsrc
Committed By: nia
Date: Tue Nov 23 10:37:59 UTC 2021
Modified Files:
pkgsrc/mk/platform: SunOS.mk
Log Message:
mk: Register strnlen as missing on Solaris 10
adapted from PR pkg/56511 from pekdon
To generate a diff of this commit:
cvs rdiff -u -r1.80 -r1.81 pkgsrc/mk/platform/SunOS.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/mk/platform/SunOS.mk
diff -u pkgsrc/mk/platform/SunOS.mk:1.80 pkgsrc/mk/platform/SunOS.mk:1.81
--- pkgsrc/mk/platform/SunOS.mk:1.80 Tue Jun 2 16:22:40 2020
+++ pkgsrc/mk/platform/SunOS.mk Tue Nov 23 10:37:59 2021
@@ -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_HAS_OSSAUDIO= no # libossaudio i
_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