Date: Mon, 21 Dec 2015 18:35:52 +0000 (UTC) From: Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r404174 - in head/irc/weechat: . files Message-ID: <201512211835.tBLIZqP3060064@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: sunpoet Date: Mon Dec 21 18:35:52 2015 New Revision: 404174 URL: https://svnweb.freebsd.org/changeset/ports/404174 Log: - 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) Added: head/irc/weechat/files/patch-src-plugins-javascript-weechat-js-api.cpp (contents, props changed) Modified: head/irc/weechat/Makefile head/irc/weechat/pkg-plist Modified: head/irc/weechat/Makefile ============================================================================== --- head/irc/weechat/Makefile Mon Dec 21 18:35:47 2015 (r404173) +++ head/irc/weechat/Makefile Mon Dec 21 18:35:52 2015 (r404174) @@ -22,7 +22,7 @@ CFLAGS+= -I${LOCALBASE}/include -L${LOCA 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 Added: head/irc/weechat/files/patch-src-plugins-javascript-weechat-js-api.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/irc/weechat/files/patch-src-plugins-javascript-weechat-js-api.cpp Mon Dec 21 18:35:52 2015 (r404174) @@ -0,0 +1,10 @@ +--- src/plugins/javascript/weechat-js-api.cpp.orig 2015-08-16 06:27:07 UTC ++++ src/plugins/javascript/weechat-js-api.cpp +@@ -25,6 +25,7 @@ + #include <cstdlib> + #include <cstring> + #include <string> ++#include <time.h> + + extern "C" + { Modified: head/irc/weechat/pkg-plist ============================================================================== --- head/irc/weechat/pkg-plist Mon Dec 21 18:35:47 2015 (r404173) +++ head/irc/weechat/pkg-plist Mon Dec 21 18:35:52 2015 (r404174) @@ -20,6 +20,7 @@ libdata/pkgconfig/weechat.pc %%MANPAGES%%man/ru/man1/weechat.1.gz %%ASPELL%%lib/weechat/plugins/aspell.so %%CHARSET%%lib/weechat/plugins/charset.so +%%JAVASCRIPT%%lib/weechat/plugins/javascript.so %%LUA%%lib/weechat/plugins/lua.so %%PERL%%lib/weechat/plugins/perl.so %%PYTHON%%lib/weechat/plugins/python.so
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512211835.tBLIZqP3060064>