pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/netpbm netpbm: Support GCC >= 10.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5c697d2fa9d5
branches:  trunk
changeset: 459004:5c697d2fa9d5
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Sep 28 12:52:51 2021 +0000

description:
netpbm: Support GCC >= 10.

diffstat:

 graphics/netpbm/Makefile |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (21 lines):

diff -r 5b705d3bdbe4 -r 5c697d2fa9d5 graphics/netpbm/Makefile
--- a/graphics/netpbm/Makefile  Tue Sep 28 12:51:06 2021 +0000
+++ b/graphics/netpbm/Makefile  Tue Sep 28 12:52:51 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.230 2021/05/24 19:52:23 wiz Exp $
+# $NetBSD: Makefile,v 1.231 2021/09/28 12:52:51 jperkin Exp $
 
 DISTNAME=      netpbm-10.79.04
 PKGREVISION=   8
@@ -71,9 +71,8 @@
 .include "../../mk/compiler.mk"
 
 # Ridiculous but they hardcode it in every file so we have no choice.
-.if ${OPSYS} == "SunOS" && \
-    (!empty(CC_VERSION:Mgcc-[6-9]*) || !empty(PKGSRC_COMPILER:Mclang))
-SUBST_CLASSES+=                xopen
+.if !empty(CC_VERSION:Mgcc-[6-9]*) || !empty(PKGSRC_COMPILER:Mclang) || !empty(CC_VERSION:Mgcc-1[0-9].*)
+SUBST_CLASSES.SunOS+=  xopen
 SUBST_STAGE.xopen=     pre-configure
 SUBST_FILES.xopen=     */*.c */*/*.c */*/*/*.c */*/*/*/*.c */*/*/*/*/*.c
 SUBST_FILES.xopen+=    lib/util/lexheader



Home | Main Index | Thread Index | Old Index