summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authordrochner <drochner>2007-12-27 15:06:52 +0000
committerdrochner <drochner>2007-12-27 15:06:52 +0000
commita066cfbb86f49f3531fdd033a7707c4aaaea766f (patch)
treed8daded8a4b7b00e01710e394a14e9b5203e2818 /converters
parented7b845e74f11da94f318e5e6dea74b98fa0193c (diff)
downloadpkgsrc-a066cfbb86f49f3531fdd033a7707c4aaaea766f.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}