pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/mandoc mandoc: Add -D_OPENBSD_SOURCE to CFLAG...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3c38773d5a8c
branches:  trunk
changeset: 324216:3c38773d5a8c
user:      leot <leot%pkgsrc.org@localhost>
date:      Thu Oct 11 12:19:04 2018 +0000

description:
mandoc: Add -D_OPENBSD_SOURCE to CFLAGS on NetBSD

Uses both strtonum(3) and reallocarray(3).

Bump PKGREVISION

diffstat:

 textproc/mandoc/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 51602f29b075 -r 3c38773d5a8c textproc/mandoc/Makefile
--- a/textproc/mandoc/Makefile  Thu Oct 11 12:14:22 2018 +0000
+++ b/textproc/mandoc/Makefile  Thu Oct 11 12:19:04 2018 +0000
@@ -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+=     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



Home | Main Index | Thread Index | Old Index