summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorgutteridge <gutteridge@pkgsrc.org>2020-04-19 03:31:08 +0000
committergutteridge <gutteridge@pkgsrc.org>2020-04-19 03:31:08 +0000
commitf12f901a3c04079e71f83f65da304bacb4aa664d (patch)
tree089675b50fe38be7b1b3b5dec6d32a5d8f18eb8e /textproc
parent5c3d4b6869257beb813fca4da145455c8ac45745 (diff)
downloadpkgsrc-f12f901a3c04079e71f83f65da304bacb4aa664d.tar.gz
link-grammar: fix builds with older compilers (NetBSD 7, CentOS)
Diffstat (limited to 'textproc')
-rw-r--r--textproc/link-grammar/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/textproc/link-grammar/Makefile b/textproc/link-grammar/Makefile
index 4db04c7825d..0d4b409288d 100644
--- a/textproc/link-grammar/Makefile
+++ b/textproc/link-grammar/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2020/03/30 23:20:20 gutteridge Exp $
+# $NetBSD: Makefile,v 1.15 2020/04/19 03:31:08 gutteridge Exp $
DISTNAME= link-grammar-5.8.0
CATEGORIES= textproc
@@ -19,4 +19,9 @@ CONFIGURE_ARGS+= --disable-python-bindings
PKGCONFIG_OVERRIDE+= link-grammar.pc.in
+# Not all currently supported compilers provide this option.
+# The configure script purports to check whether the compiler
+# supports it, but doesn't do so correctly.
+BUILDLINK_TRANSFORM+= rm:-Wformat-signedness
+
.include "../../mk/bsd.pkg.mk"