summaryrefslogtreecommitdiffstats
path: root/editors/vile
diff options
context:
space:
mode:
authorgj <gj@FreeBSD.org>2008-02-17 11:49:05 +0000
committergj <gj@FreeBSD.org>2008-02-17 11:49:05 +0000
commit183886e427dcbc5dd7ca0a4258f6b08f6fa4f30d (patch)
treebea32d07d2b429538bb224daa941dc4814e8e1b4 /editors/vile
parente7e45b49fc1d2a825b51fbe7a4b8b8b50e801098 (diff)
downloadFreeBSD-ports-183886e427dcbc5dd7ca0a4258f6b08f6fa4f30d.zip
FreeBSD-ports-183886e427dcbc5dd7ca0a4258f6b08f6fa4f30d.tar.gz
It seems that vile now automatically turns on ICONV unless otherwise specified
in CONFIGURE_ARGS. Add a config option to control this - default is OFF.
Diffstat (limited to 'editors/vile')
-rw-r--r--editors/vile/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/editors/vile/Makefile b/editors/vile/Makefile
index 13bd2d0..18371e2 100644
--- a/editors/vile/Makefile
+++ b/editors/vile/Makefile
@@ -29,10 +29,18 @@ GNU_CONFIGURE= yes
MAN1= vile.1
OPTIONS= FILTERS "Add support for loadable filters" OFF
+OPTIONS+= ICONV "Add support for ICONV" OFF
OPTIONS+= PERL "Add support for perl functions" OFF
.include <bsd.port.pre.mk>
+.if defined(WITH_ICONV)
+CONFIGURE_ARGS+= --with-iconv
+USE_ICONV= yes
+.else
+CONFIGURE_ARGS+= --without-iconv
+.endif
+
.if defined(WITH_PERL)
CONFIGURE_ARGS+= --with-perl
PLIST= ${PKGDIR}/pkg-plist.perl
@@ -49,6 +57,10 @@ PLIST= ${PKGDIR}/pkg-plist.perl+filt
.endif
pre-configure:
+.if ! defined(WITH_ICONV)
+ @${ECHO_MSG} "Choose the option ICONV if you want to make a vile which includes"
+ @${ECHO_MSG} "ICONV functionality"
+.endif
.if ! defined(WITH_PERL)
@${ECHO_MSG} "Choose the option PERL if you want to make a vile which includes"
@${ECHO_MSG} "PERL functionality"
OpenPOWER on IntegriCloud