summaryrefslogtreecommitdiff
path: root/converters/wv2
diff options
context:
space:
mode:
authorminskim <minskim>2005-05-22 02:45:58 +0000
committerminskim <minskim>2005-05-22 02:45:58 +0000
commit439e19456c696aa553ea1586453799e940a158b0 (patch)
tree84f0ceb52d9781c945d804a5ff86f2ce15b7e03e /converters/wv2
parent98d5f06cf02b3f29daa7d1526373746785fb124a (diff)
downloadpkgsrc-439e19456c696aa553ea1586453799e940a158b0.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/wv2')
-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"