aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2013-09-05 04:01:05 +0800
committerBoris Samorodov <bsam@FreeBSD.org>2013-09-05 04:01:05 +0800
commit9f7e7e1326e79bd8e12c1f04deb511f02f41b2f2 (patch)
tree293dcbc9c7e5b5460095f0f0b868e1ead9528ded /textproc
parent4b842875ea2948eda84bd8103594cb2a73c6993d (diff)
downloadfreebsd-ports-gnome-9f7e7e1326e79bd8e12c1f04deb511f02f41b2f2.tar.gz
freebsd-ports-gnome-9f7e7e1326e79bd8e12c1f04deb511f02f41b2f2.tar.zst
freebsd-ports-gnome-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)
Diffstat (limited to 'textproc')
-rw-r--r--textproc/gxmlviewer/Makefile4
-rw-r--r--textproc/hunspell/Makefile2
-rw-r--r--textproc/xmlstarlet/Makefile2
3 files changed, 4 insertions, 4 deletions
diff --git a/textproc/gxmlviewer/Makefile b/textproc/gxmlviewer/Makefile
index 94f9c1c1af67..7aff265a7293 100644
--- a/textproc/gxmlviewer/Makefile
+++ b/textproc/gxmlviewer/Makefile
@@ -10,10 +10,10 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTVERSION}-0
MAINTAINER= ports@FreeBSD.org
COMMENT= An xmlviewer with a netscape plugin, and now a bonobo control as well
-USES= pathfix gettext
+USES= gettext iconv pathfix
USE_GNOME= bonobo gnomelibs gnomeprefix libxml2
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-libiconv-prefix="${LOCALBASE}"
+CONFIGURE_ARGS= ${ICONV_CONFIGURE_ARG}
USE_WEBPLUGINS= native
WEBPLUGINS_DIR= ${PREFIX}/lib/gxmlviewer/plugins
diff --git a/textproc/hunspell/Makefile b/textproc/hunspell/Makefile
index 1daa5dab6f8b..adceadc04327 100644
--- a/textproc/hunspell/Makefile
+++ b/textproc/hunspell/Makefile
@@ -14,7 +14,7 @@ COMMENT= Improved spell-checker for Hungarian and other languages
LICENSE= GPLv2 LGPL21 MPL
LICENSE_COMB= dual
-CONFIGURE_ARGS= --disable-nls --with-libiconv-prefix=${LOCALBASE} --with-readline --with-ui
+CONFIGURE_ARGS= --disable-nls ${ICONV_CONFIGURE_ARG} --with-readline --with-ui
GNU_CONFIGURE= yes
USES= pathfix iconv ncurses readline
USE_LDCONFIG= yes
diff --git a/textproc/xmlstarlet/Makefile b/textproc/xmlstarlet/Makefile
index 62d89d38763e..381e9aec65ae 100644
--- a/textproc/xmlstarlet/Makefile
+++ b/textproc/xmlstarlet/Makefile
@@ -17,7 +17,7 @@ USES= iconv
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-libxml-prefix=${LOCALBASE} \
--with-libxslt-prefix=${LOCALBASE} \
- --with-libiconv-prefix=${LOCALBASE} \
+ ${ICONV_CONFIGURE_ARG} \
--disable-static-libs
MAN1= xmlstarlet.1