summaryrefslogtreecommitdiff
path: root/graphics/netpbm
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2020-05-12 17:51:46 +0000
committerrillig <rillig@pkgsrc.org>2020-05-12 17:51:46 +0000
commitb47f3f4a2babf28b045bfcaade7bc13bdea816b1 (patch)
treecd450da626fc0b4e9bb8207ea7e5c0d891de66d9 /graphics/netpbm
parentcbc8719d85e5a1516119c0fdfd321dfa2d750f6e (diff)
downloadpkgsrc-b47f3f4a2babf28b045bfcaade7bc13bdea816b1.tar.gz
graphics/netpbm: the top-level C file does not have _XOPEN_SOURCE
Diffstat (limited to 'graphics/netpbm')
-rw-r--r--graphics/netpbm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/netpbm/Makefile b/graphics/netpbm/Makefile
index c322d3d8229..160b6e1245e 100644
--- a/graphics/netpbm/Makefile
+++ b/graphics/netpbm/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.223 2020/03/20 11:57:50 nia Exp $
+# $NetBSD: Makefile,v 1.224 2020/05/12 17:51:46 rillig Exp $
DISTNAME= netpbm-10.79.04
PKGREVISION= 3
@@ -75,7 +75,7 @@ MAKE_FLAGS+= NETWORKLD="-lsocket -lresolv"
(!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
+SUBST_FILES.xopen= */*.c */*/*.c */*/*/*.c */*/*/*/*.c */*/*/*/*/*.c
SUBST_FILES.xopen+= lib/util/lexheader
SUBST_SED.xopen= -e '/_XOPEN_SOURCE/s/500/600/'
SUBST_SED.xopen+= -e '/_XOPEN_SOURCE/s/1$$/600/'