aboutsummaryrefslogtreecommitdiff
path: root/editors/ssed
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/ssed
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 'editors/ssed')
-rw-r--r--editors/ssed/Makefile4
1 files changed, 2 insertions, 2 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