summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin>2014-09-08 08:44:54 +0000
committerjperkin <jperkin>2014-09-08 08:44:54 +0000
commitf5abc990629c3ae8a44fc46291f94c3dc9de86bb (patch)
tree2f2781bc87edda808e18fb781cfecf18e6eee24a
parentc33b8e3e5e947e16812e521dff9426f8219d45de (diff)
downloadpkgsrc-f5abc990629c3ae8a44fc46291f94c3dc9de86bb.tar.gz
Add a comment explaining why we need to force --with-libiconv=gnu for
the ICONV_TYPE=gnu case. Suggested by wiz.
-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}