summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorleot <leot@pkgsrc.org>2018-10-11 12:19:04 +0000
committerleot <leot@pkgsrc.org>2018-10-11 12:19:04 +0000
commit2478647e41685e0a377f6dc69fa8118540d74840 (patch)
treeeb82c4560ff761876fa529f9115d99d3d39fb52c /textproc
parentb90a79ea6026fc981cd661eeb27b0180aa2a8bc5 (diff)
downloadpkgsrc-2478647e41685e0a377f6dc69fa8118540d74840.tar.gz
mandoc: Add -D_OPENBSD_SOURCE to CFLAGS on NetBSD
Uses both strtonum(3) and reallocarray(3). Bump PKGREVISION
Diffstat (limited to 'textproc')
-rw-r--r--textproc/mandoc/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/textproc/mandoc/Makefile b/textproc/mandoc/Makefile
index caa3a0f6b4a..20ecf693fb9 100644
--- a/textproc/mandoc/Makefile
+++ b/textproc/mandoc/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2018/08/22 09:46:47 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2018/10/11 12:19:04 leot Exp $
DISTNAME= mandoc-1.14.4
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= textproc devel
MASTER_SITES= http://mdocml.bsd.lv/snapshots/
@@ -18,6 +18,8 @@ SUBST_FILES.roff= mandoc.1 mandoc.3
SUBST_FILES.roff+= eqn.7 man.7 mdoc.7 tbl.7
SUBST_SED.roff= -e 's,Xr roff,Xr mandoc-roff,g'
+CFLAGS.NetBSD+= -D_OPENBSD_SOURCE
+
# test needs perl
USE_TOOLS+= perl:build
TEST_TARGET= regress