summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorminskim <minskim>2005-05-22 02:45:58 +0000
committerminskim <minskim>2005-05-22 02:45:58 +0000
commit533c93e9f4be2a54221bbe29cbb4afa6f6188202 (patch)
tree84f0ceb52d9781c945d804a5ff86f2ce15b7e03e /converters
parentae86fabbbb702391c2945f5649742677002083eb (diff)
downloadpkgsrc-533c93e9f4be2a54221bbe29cbb4afa6f6188202.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"