summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2005-05-22 02:45:58 +0000
committerminskim <minskim@pkgsrc.org>2005-05-22 02:45:58 +0000
commit65c011bf4e3feffed01e7d73388489606a59a186 (patch)
tree84f0ceb52d9781c945d804a5ff86f2ce15b7e03e /converters
parentcee701311977352e5608903688f240b7a34e5e41 (diff)
downloadpkgsrc-65c011bf4e3feffed01e7d73388489606a59a186.tar.gz
Add the iconv option depending on ICONV_TYPE. This makes the package
build on Linux, where native iconv is used without -liconv.
Diffstat (limited to 'converters')
-rw-r--r--converters/wv2/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/converters/wv2/Makefile b/converters/wv2/Makefile
index 2462ecab095..5b7a4253de0 100644
--- a/converters/wv2/Makefile
+++ b/converters/wv2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2005/05/22 02:40:13 minskim Exp $
+# $NetBSD: Makefile,v 1.12 2005/05/22 02:45:58 minskim Exp $
#
DISTNAME= wv2-0.2.2
@@ -17,7 +17,9 @@ USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --disable-debug
-CONFIGURE_ARGS+= --with-libiconv=${BUILDLINK_PREFIX.iconv}
+CONFIGURE_ARGS+= ${CONFIGURE_ARGS.${ICONV_TYPE}-iconv}
+
+CONFIGURE_ARGS.gnu-iconv= --with-libiconv=${BUILDLINK_PREFIX.iconv}
.include "../../converters/libiconv/buildlink3.mk"
.include "../../devel/libgsf/buildlink3.mk"