diff options
author | sevan <sevan@pkgsrc.org> | 2019-07-03 16:54:32 +0000 |
---|---|---|
committer | sevan <sevan@pkgsrc.org> | 2019-07-03 16:54:32 +0000 |
commit | 9eeea373b0d3576f83625044b9c9bea5b9e1fa09 (patch) | |
tree | cf7f0b08009104971e3de2e97d0d441297113f68 /textproc/libxml2 | |
parent | 222108e7d8b3361d098478d24e20682c8458d053 (diff) | |
download | pkgsrc-9eeea373b0d3576f83625044b9c9bea5b9e1fa09.tar.gz |
Avoid trying to disable warnings for array boundary checks on Darwin.
On legacy toolchains e.g Tiger, it results in a hard error as it's not recognised.
Diffstat (limited to 'textproc/libxml2')
-rw-r--r-- | textproc/libxml2/Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/textproc/libxml2/Makefile b/textproc/libxml2/Makefile index ff4b964e83c..59641abad54 100644 --- a/textproc/libxml2/Makefile +++ b/textproc/libxml2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.152 2019/01/09 19:09:02 adam Exp $ +# $NetBSD: Makefile,v 1.153 2019/07/03 16:54:32 sevan Exp $ .include "../../textproc/libxml2/Makefile.common" @@ -35,6 +35,7 @@ SUBST_FILES.cat= catalog.c xmlcatalog.c SUBST_SED.cat= -e "s,@@SGML_DEFAULT_CATALOG@@,${SGML_DEFAULT_CATALOG},g" SUBST_SED.cat+= -e "s,@@XML_DEFAULT_CATALOG@@,${XML_DEFAULT_CATALOG},g" +BUILDLINK_TRANSFORM.Darwin+= rm:-Wno-array-bounds BUILDLINK_TRANSFORM.SunOS+= rm:-Werror=format=2 LDFLAGS.SCO_SV+= -lm |