commit 8939ac26653b598764afdfe0672adfab5d62f6ae Author: Elan Ruusamäe <g...@delfi.ee> Date: Mon Apr 8 01:16:13 2013 +0300
use system libuv nodejs.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) --- diff --git a/nodejs.spec b/nodejs.spec index e0cb53a..3629394 100644 --- a/nodejs.spec +++ b/nodejs.spec @@ -16,6 +16,7 @@ URL: http://www.nodejs.org/ BuildRequires: c-ares-devel BuildRequires: gcc >= 5:4.0 BuildRequires: libstdc++-devel +BuildRequires: libuv-devel >= %{version} BuildRequires: openssl-devel BuildRequires: pkgconfig BuildRequires: python >= 1:2.5.2 @@ -72,13 +73,18 @@ This package contains the documentation for nodejs. # Error: V8 doesn't like ccache. Please set your CC env var to 'gcc' CC=${CC#ccache } -# NOT autoconf so dont use macro +# add defines from libuv (RHBZ#892601) +export CFLAGS="%{rpmcflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" +export CXXFLAGS="%{rpmcppflags} -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64" + +# NOT autoconf so don't use macro export PYTHONPATH=tools ./configure \ --shared-v8 \ --shared-zlib \ --shared-openssl \ --shared-cares \ + --shared-libuv \ --without-npm \ --without-dtrace \ --prefix=%{_prefix} ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/nodejs.git/commitdiff/8939ac26653b598764afdfe0672adfab5d62f6ae _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit