pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/converters/wv2 Add the iconv option depending on ICONV...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/12cf3200777d
branches:  trunk
changeset: 494263:12cf3200777d
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun May 22 02:45:58 2005 +0000

description:
Add the iconv option depending on ICONV_TYPE.  This makes the package
build on Linux, where native iconv is used without -liconv.

diffstat:

 converters/wv2/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 77d04006ed32 -r 12cf3200777d converters/wv2/Makefile
--- a/converters/wv2/Makefile   Sun May 22 02:40:13 2005 +0000
+++ b/converters/wv2/Makefile   Sun May 22 02:45:58 2005 +0000
@@ -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 @@
 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"



Home | Main Index | Thread Index | Old Index