summaryrefslogtreecommitdiff
path: root/converters/wv2
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
commitb767a29bd1654c04bc8c846af80479af9610df09 (patch)
tree84f0ceb52d9781c945d804a5ff86f2ce15b7e03e /converters/wv2
parent7194177292bc0668a78fc0ece993aa95eea0b8bc (diff)
downloadpkgsrc-b767a29bd1654c04bc8c846af80479af9610df09.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"