pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/platform mk: Limit mktools to SunOS 5.11 and newer.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a656d9d4888b
branches:  trunk
changeset: 386133:a656d9d4888b
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Sat Oct 01 14:23:26 2022 +0000

description:
mk: Limit mktools to SunOS 5.11 and newer.

Older releases don't have err.h, and I don't want to have to bring in nbcompat
yet.  Fixes PR#57040.

diffstat:

 mk/platform/SunOS.mk |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 0c223dee8e30 -r a656d9d4888b mk/platform/SunOS.mk
--- a/mk/platform/SunOS.mk      Sat Oct 01 12:00:31 2022 +0000
+++ b/mk/platform/SunOS.mk      Sat Oct 01 14:23:26 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: SunOS.mk,v 1.84 2022/09/27 08:46:33 jperkin Exp $
+# $NetBSD: SunOS.mk,v 1.85 2022/10/01 14:23:26 jperkin Exp $
 #
 # Variable definitions for the SunOS/Solaris operating system.
 
@@ -136,7 +136,9 @@
 
 _OPSYS_SUPPORTS_CTF=           yes # Compact Type Format conversion.
 _OPSYS_SUPPORTS_FORTIFY=       yes # Requires GCC
-_OPSYS_SUPPORTS_MKTOOLS=       yes
+.if ${OPSYS_VERSION} >= 051100
+_OPSYS_SUPPORTS_MKTOOLS=       yes # Requires err.h
+.endif
 _OPSYS_SUPPORTS_SSP?=          yes # Requires GCC
 _OPSYS_CAN_CHECK_SHLIBS=       yes # Requires readelf
 



Home | Main Index | Thread Index | Old Index