summaryrefslogtreecommitdiff
path: root/editors
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 /editors
parentRe-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 'editors')
-rw-r--r--editors/ssed/Makefile4
-rw-r--r--editors/vile/Makefile2
-rw-r--r--editors/xvile/Makefile2
3 files changed, 4 insertions, 4 deletions
diff --git a/editors/ssed/Makefile b/editors/ssed/Makefile
index 825cee580c68..2b8890cbe4ac 100644
--- a/editors/ssed/Makefile
+++ b/editors/ssed/Makefile
@@ -19,8 +19,8 @@ MAN1= ssed.1
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
-USES+= gettext
-CONFIGURE_ARGS+= --with-libiconv-prefix=${LOCALBASE}
+USES+= gettext iconv
+CONFIGURE_ARGS+= ${ICONV_CONFIGURE_ARG}
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+= --disable-nls
diff --git a/editors/vile/Makefile b/editors/vile/Makefile
index 200e537eaa4e..c8dc3b9ccbc5 100644
--- a/editors/vile/Makefile
+++ b/editors/vile/Makefile
@@ -39,7 +39,7 @@ PLIST_SUB+= SO_EXT=""
.if ${PORT_OPTIONS:MICONV}
USES+= iconv
-CONFIGURE_ARGS+= --with-iconv --with-libiconv-prefix=${LOCALBASE}
+CONFIGURE_ARGS+= --with-iconv ${ICONV_CONFIGURE_ARG}
PLIST_SUB+= ICONV=""
.else
CONFIGURE_ARGS+= --without-iconv --without-locale
diff --git a/editors/xvile/Makefile b/editors/xvile/Makefile
index c224753188a3..cd3d8201db24 100644
--- a/editors/xvile/Makefile
+++ b/editors/xvile/Makefile
@@ -53,7 +53,7 @@ PLIST_SUB+= SO_EXT=""
.if ${PORT_OPTIONS:MICONV}
USES+= iconv
-CONFIGURE_ARGS+= --with-iconv --with-libiconv-prefix=${LOCALBASE}
+CONFIGURE_ARGS+= --with-iconv ${ICONV_CONFIGURE_ARG}
PLIST_SUB+= ICONV=""
.else
BROKEN= Does not build if ICONV support is disabled