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:   jperkin
Date:           Sat Oct  1 14:23:26 UTC 2022

Modified Files:
        pkgsrc/mk/platform: SunOS.mk

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 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.84 pkgsrc/mk/platform/SunOS.mk:1.85
--- pkgsrc/mk/platform/SunOS.mk:1.84    Tue Sep 27 08:46:33 2022
+++ pkgsrc/mk/platform/SunOS.mk Sat Oct  1 14:23:26 2022
@@ -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_CWRAPPERS=  yes
 
 _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