From 9f7e7e1326e79bd8e12c1f04deb511f02f41b2f2 Mon Sep 17 00:00:00 2001 From: Boris Samorodov Date: Wed, 4 Sep 2013 20:01:05 +0000 Subject: Introduce ICONV_CONFIGURE_ARG variable defined at Uses/iconv.mk. It's value is "--with-libiconv-prefix=/usr/local" for systems before 100043 with ports libiconv and to use at systems post 100043 with base iconv it's value is "" (NULL). Co-authors: bapt, madpilot and bsam (me) --- devel/cross-gcc/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'devel/cross-gcc') diff --git a/devel/cross-gcc/Makefile b/devel/cross-gcc/Makefile index dc9200a14d1f..6ded5fdc7cfb 100644 --- a/devel/cross-gcc/Makefile +++ b/devel/cross-gcc/Makefile @@ -29,7 +29,7 @@ RUN_DEPENDS?= ${OURTARGET}-as:${PORTSDIR}/devel/cross-binutils USE_BZIP2= yes USE_GMAKE= yes -USES= bison +USES= bison iconv STRIP= #empty GNU_CONFIGURE= yes ALL_TARGET= all info @@ -61,7 +61,7 @@ CONFIGURE_ARGS= --target=${OURTARGET} \ --datadir="${TGT_DATADIR}" \ --with-system-zlib \ --disable-nls \ - --with-libiconv-prefix=${LOCALBASE} \ + ${ICONV_CONFIGURE_ARG} \ --without-included_gettext \ --with-newlib \ --with-dwarf2 \ -- cgit v1.2.3