summaryrefslogtreecommitdiff
path: root/print/gv
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-07-26 14:57:51 +0000
committerobache <obache@pkgsrc.org>2010-07-26 14:57:51 +0000
commit18da97bdbd83472673e090667b27f1bcce6ddd71 (patch)
tree491ed41f45e9e8a1233d17f937b7f490c37ae197 /print/gv
parent72efa2058db120c83aba962d4f59ed4b95b52852 (diff)
downloadpkgsrc-18da97bdbd83472673e090667b27f1bcce6ddd71.tar.gz
Skip iconv_open in libiconv check in configure script.
It always failed with libiconv from pkgsrc.
Diffstat (limited to 'print/gv')
-rw-r--r--print/gv/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/print/gv/Makefile b/print/gv/Makefile
index 8110d9daada..304e25ead4e 100644
--- a/print/gv/Makefile
+++ b/print/gv/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.72 2010/07/26 14:40:22 obache Exp $
+# $NetBSD: Makefile,v 1.73 2010/07/26 14:57:51 obache Exp $
DISTNAME= gv-3.7.1
CATEGORIES= print
@@ -37,6 +37,10 @@ CONFIGURE_ARGS+= --enable-setenv-code
CONFIGURE_ARGS+= --enable-SIGCHLD-fallback
.endif
+# XXX: bad configure test for libiconv from pkgsrc, so skip it.
+CONFIGURE_ENV+= ac_cv_lib_iconv_iconv_open=yes
+LIBS+= ${BUILDLINK_LDADD.iconv}
+
SUBST_CLASSES+= optlong1
SUBST_STAGE.optlong1= post-extract
SUBST_FILES.optlong1= src/gv_message.h