pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/netpbm



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu Jan 25 10:29:21 UTC 2018

Modified Files:
        pkgsrc/graphics/netpbm: Makefile

Log Message:
netpbm: Perform _XOPEN_SOURCE workaround for clang too.


To generate a diff of this commit:
cvs rdiff -u -r1.215 -r1.216 pkgsrc/graphics/netpbm/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/netpbm/Makefile
diff -u pkgsrc/graphics/netpbm/Makefile:1.215 pkgsrc/graphics/netpbm/Makefile:1.216
--- pkgsrc/graphics/netpbm/Makefile:1.215       Sun Jan 14 14:58:39 2018
+++ pkgsrc/graphics/netpbm/Makefile     Thu Jan 25 10:29:21 2018
@@ -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 @@ MAKE_FLAGS+=  NETWORKLD="-lsocket -lresol
 .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