aboutsummaryrefslogtreecommitdiff
path: root/japanese
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2013-09-04 20:01:05 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2013-09-04 20:01:05 +0000
commit9f7e7e1326e79bd8e12c1f04deb511f02f41b2f2 (patch)
tree293dcbc9c7e5b5460095f0f0b868e1ead9528ded /japanese
parent4b842875ea2948eda84bd8103594cb2a73c6993d (diff)
downloadports-9f7e7e1326e79bd8e12c1f04deb511f02f41b2f2.tar.gz
ports-9f7e7e1326e79bd8e12c1f04deb511f02f41b2f2.zip
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 'japanese')
-rw-r--r--japanese/lynx-current/Makefile2
-rw-r--r--japanese/lynx/Makefile2
-rw-r--r--japanese/mutt-devel/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/japanese/lynx-current/Makefile b/japanese/lynx-current/Makefile
index 11b0e3197e14..3bdf4edb195a 100644
--- a/japanese/lynx-current/Makefile
+++ b/japanese/lynx-current/Makefile
@@ -28,7 +28,7 @@ CONFIGURE_ARGS+=--with-screen=ncurses --with-zlib --libdir="${L_LIB}" \
.if !defined(WITHOUT_JAPANESE_UTF8)
USES+= iconv
-CONFIGURE_ARGS+=--with-libiconv-prefix=${LOCALBASE} \
+CONFIGURE_ARGS+=${ICONV_CONFIGURE_ARG} \
--enable-japanese-utf8
.else
CONFIGURE_ARGS+=--disable-japanese-utf8
diff --git a/japanese/lynx/Makefile b/japanese/lynx/Makefile
index 1f3bc936a748..7b2ef2877fda 100644
--- a/japanese/lynx/Makefile
+++ b/japanese/lynx/Makefile
@@ -41,7 +41,7 @@ COLOR_STYLE_DESC= Enable color style (ncurses/curses)
DEFAULT_COLORS_DESC= Enable default colors (ncurses/slang)
JAPANESE_UTF8_USES= iconv
-JAPANESE_UTF8_CONFIGURE_ON= --with-libiconv-prefix=${LOCALBASE}
+JAPANESE_UTF8_CONFIGURE_ON= ${ICONV_CONFIGURE_ARG}
JAPANESE_UTF8_CONFIGURE_ENABLE= japanese-utf8
COLOR_STYLE_CONFIGURE_ENABLE= color-style
DEFAULT_COLORS_CONFIGURE_ENABLE=default-colors
diff --git a/japanese/mutt-devel/Makefile b/japanese/mutt-devel/Makefile
index b08f7e948c0b..9763504a5d4f 100644
--- a/japanese/mutt-devel/Makefile
+++ b/japanese/mutt-devel/Makefile
@@ -65,7 +65,7 @@ WRKSRC= ${WRKDIR}/mutt-${VERSION}
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ENV= CC="${CC} -D_DONT_USE_CTYPE_INLINE_ ${DB_CFLAGS} -I${LOCALBASE}/include -I${LOCALBASE}/include/slang"
CONFIGURE_ARGS= --with-slang --enable-locales-fix \
- --with-libiconv-prefix=${LOCALBASE} \
+ ${ICONV_CONFIGURE_ARG} \
--without-wc-funcs \
--enable-flock --disable-fcntl \
--with-ssl \