From 439e19456c696aa553ea1586453799e940a158b0 Mon Sep 17 00:00:00 2001 From: minskim Date: Sun, 22 May 2005 02:45:58 +0000 Subject: Add the iconv option depending on ICONV_TYPE. This makes the package build on Linux, where native iconv is used without -liconv. --- converters/wv2/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'converters/wv2') 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" -- cgit v1.2.3