summaryrefslogtreecommitdiff
path: root/devel/glib2
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-09-08 08:44:54 +0000
committerjperkin <jperkin@pkgsrc.org>2014-09-08 08:44:54 +0000
commit79586314d87b95f46ce673cc8b7b35f13439e0e6 (patch)
tree2f2781bc87edda808e18fb781cfecf18e6eee24a /devel/glib2
parentdb0e926ca95263384234d87e0751b0e0c8174c5c (diff)
downloadpkgsrc-79586314d87b95f46ce673cc8b7b35f13439e0e6.tar.gz
Add a comment explaining why we need to force --with-libiconv=gnu for
the ICONV_TYPE=gnu case. Suggested by wiz.
Diffstat (limited to 'devel/glib2')
-rw-r--r--devel/glib2/Makefile.common5
1 files changed, 4 insertions, 1 deletions
diff --git a/devel/glib2/Makefile.common b/devel/glib2/Makefile.common
index bde0c5d651b..4692c379ebf 100644
--- a/devel/glib2/Makefile.common
+++ b/devel/glib2/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.38 2014/09/08 08:33:59 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.39 2014/09/08 08:44:54 jperkin Exp $
#
# used by devel/glib2/Makefile
# used by devel/gdbus-codegen/Makefile
@@ -40,6 +40,9 @@ CONFIGURE_ARGS+= --disable-modular-tests
# Avoid unnecessary autotools invocation.
CONFIGURE_ARGS+= --disable-maintainer-mode
+# When ICONV_TYPE=gnu ensure we explicitly use the GNU version, to avoid
+# conflicts between iconv.h from converters/libiconv and builtin libiconv
+# which may be non-GNU.
CONFIGURE_ARGS.gnu-iconv= --with-libiconv=gnu
CONFIGURE_ENV+= PERL_PATH=${PERL5:Q}