diff options
author | Boris Samorodov <bsam@FreeBSD.org> | 2013-09-04 20:01:05 +0000 |
---|---|---|
committer | Boris Samorodov <bsam@FreeBSD.org> | 2013-09-04 20:01:05 +0000 |
commit | 9f7e7e1326e79bd8e12c1f04deb511f02f41b2f2 (patch) | |
tree | 293dcbc9c7e5b5460095f0f0b868e1ead9528ded /devel/cross-gcc | |
parent | Re-add the missing CFLAGS and LDFLAGS. (diff) |
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)
Notes
Notes:
svn path=/head/; revision=326316
Diffstat (limited to 'devel/cross-gcc')
-rw-r--r-- | devel/cross-gcc/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
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 \ |