pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/netpbm netpbm: Perform _XOPEN_SOURCE workarou...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5533343c7c01
branches: trunk
changeset: 374550:5533343c7c01
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Thu Jan 25 10:29:21 2018 +0000
description:
netpbm: Perform _XOPEN_SOURCE workaround for clang too.
diffstat:
graphics/netpbm/Makefile | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r fe20c945e6f1 -r 5533343c7c01 graphics/netpbm/Makefile
--- a/graphics/netpbm/Makefile Thu Jan 25 10:24:50 2018 +0000
+++ b/graphics/netpbm/Makefile Thu Jan 25 10:29:21 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.215 2018/01/14 14:58:39 rillig Exp $
+# $NetBSD: Makefile,v 1.216 2018/01/25 10:29:21 jperkin Exp $
DISTNAME= netpbm-10.79.04
CATEGORIES= graphics
@@ -69,7 +69,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]*)
+.if ${OPSYS} == "SunOS" && \
+ (!empty(CC_VERSION:Mgcc-[6-9]*) || !empty(PKGSRC_COMPILER:Mclang))
SUBST_CLASSES+= xopen
SUBST_STAGE.xopen= pre-configure
SUBST_FILES.xopen= *.c */*.c */*/*.c */*/*/*.c */*/*/*/*.c */*/*/*/*/*.c
Home |
Main Index |
Thread Index |
Old Index