diff options
author | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2015-12-21 18:35:52 +0000 |
---|---|---|
committer | Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2015-12-21 18:35:52 +0000 |
commit | e40656d6cfd00c663ea66296f142de3f85e57a17 (patch) | |
tree | eb2deb21a0c8d85eb1296aa8c67c9db76f11b265 /irc/weechat/Makefile | |
parent | 84779f49e29773510fbd5daa5f0226a28d874187 (diff) | |
download | freebsd-ports-e40656d6cfd00c663ea66296f142de3f85e57a17.zip |
- Fix build if lang/v8 is installed
- Add JAVASCRIPT option and set it off by default
PR: 204881
Submitted by: sunpoet (myself)
Approved by: maintainer (timeout, 23 days)
Diffstat (limited to 'irc/weechat/Makefile')
-rw-r--r-- | irc/weechat/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/irc/weechat/Makefile b/irc/weechat/Makefile index 005a2df6dcba..d22edd7b8506 100644 --- a/irc/weechat/Makefile +++ b/irc/weechat/Makefile @@ -22,7 +22,7 @@ CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib LIB_DEPENDS+= libcurl.so:${PORTSDIR}/ftp/curl \ libgcrypt.so:${PORTSDIR}/security/libgcrypt -OPTIONS_DEFINE= RUBY PYTHON PERL TCL LUA CHARSET BACKTRACE ASPELL \ +OPTIONS_DEFINE= RUBY PYTHON PERL TCL LUA JAVASCRIPT CHARSET BACKTRACE ASPELL \ GNUTLS CA_BUNDLE NLS ICON MANPAGES DOCS OPTIONS_DEFAULT=RUBY PYTHON PERL TCL LUA CHARSET BACKTRACE ASPELL \ GNUTLS CA_BUNDLE ICON MANPAGES @@ -33,6 +33,7 @@ BACKTRACE_DESC= Provide crash backtraces CA_BUNDLE_DESC= Include CA bundle for certificate verification CHARSET_DESC= Charset conversion support ICON_DESC= Desktop icon +JAVASCRIPT_DESC=Javascript support PYTHON_DESC= Python scripting language support RUBY_DESC= Ruby scripting language support @@ -48,6 +49,10 @@ CHARSET_CMAKE_OFF= -DENABLE_CHARSET=no DOCS_CMAKE_ON= -DENABLE_DOC=yes +JAVASCRIPT_CMAKE_OFF= -DENABLE_JAVASCRIPT=no +JAVASCRIPT_CMAKE_ON= -DENABLE_JAVASCRIPT=yes +JAVASCRIPT_LIB_DEPENDS= libv8.so:${PORTSDIR}/lang/v8 + GNUTLS_CMAKE_OFF= -DENABLE_GNUTLS=no GNUTLS_USES= pkgconfig GNUTLS_LIB_DEPENDS= libgnutls.so.28:${PORTSDIR}/security/gnutls |