summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2007-12-27 15:06:52 +0000
committerdrochner <drochner@pkgsrc.org>2007-12-27 15:06:52 +0000
commit0ca6f36905d18a4c471f8b3bc4249cab4a01a064 (patch)
treed8daded8a4b7b00e01710e394a14e9b5203e2818 /converters
parent83dfac88b180269a260046b74a9d0d343c2a289a (diff)
downloadpkgsrc-0ca6f36905d18a4c471f8b3bc4249cab4a01a064.tar.gz
use GNU iconv on DragonFly, should fix the error seen in bulk build
Diffstat (limited to 'converters')
-rw-r--r--converters/wv2/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/converters/wv2/Makefile b/converters/wv2/Makefile
index d4a1246bd76..846959dd37a 100644
--- a/converters/wv2/Makefile
+++ b/converters/wv2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.26 2007/12/17 22:04:38 drochner Exp $
+# $NetBSD: Makefile,v 1.27 2007/12/27 15:06:52 drochner Exp $
#
DISTNAME= wv2-0.2.3
@@ -17,6 +17,12 @@ GNU_CONFIGURE= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
+# DragonFly's iconv(3) doesn't pass the configure check
+.include "../../mk/bsd.prefs.mk"
+.if ${OPSYS} == "DragonFly"
+USE_GNU_ICONV= yes
+.endif
+
CONFIGURE_ARGS+= --disable-debug
CONFIGURE_ARGS+= ${CONFIGURE_ARGS.${ICONV_TYPE}-iconv}