commit:     05bccdc477da857cd2f6cdb8be815498f4f8405d
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Tue May 23 23:05:15 2023 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Tue May 23 23:05:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05bccdc4

net-libs/nodejs: sync live

Signed-off-by: William Hubbs <williamh <AT> gentoo.org>

 net-libs/nodejs/nodejs-99999999.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/net-libs/nodejs/nodejs-99999999.ebuild 
b/net-libs/nodejs/nodejs-99999999.ebuild
index 737ed081751a..9338f3b60283 100644
--- a/net-libs/nodejs/nodejs-99999999.ebuild
+++ b/net-libs/nodejs/nodejs-99999999.ebuild
@@ -28,7 +28,8 @@ IUSE="cpu_flags_x86_sse2 debug doc +icu inspector lto +npm 
pax-kernel +snapshot
 REQUIRED_USE="inspector? ( icu ssl )
        npm? ( ssl )
        system-icu? ( icu )
-       system-ssl? ( ssl )"
+       system-ssl? ( ssl )
+       x86? ( cpu_flags_x86_sse2 )"
 
 RESTRICT="!test? ( test )"
 
@@ -41,6 +42,7 @@ RDEPEND=">=app-arch/brotli-1.0.9:=
        system-ssl? ( >=dev-libs/openssl-1.1.1:0= )
        sys-devel/gcc:*"
 BDEPEND="${PYTHON_DEPS}
+       dev-util/ninja
        sys-apps/coreutils
        virtual/pkgconfig
        test? ( net-misc/curl )
@@ -58,9 +60,6 @@ CHECKREQS_MEMORY="8G"
 CHECKREQS_DISK_BUILD="22G"
 
 pkg_pretend() {
-       (use x86 && ! use cpu_flags_x86_sse2) && \
-               die "Your CPU doesn't support the required SSE2 instruction."
-
        if [[ ${MERGE_TYPE} != "binary" ]]; then
                if is-flagq "-g*" && ! is-flagq "-g*0" ; then
                        einfo "Checking for sufficient disk space and memory to 
build ${PN} with debugging CFLAGS"
@@ -121,6 +120,7 @@ src_configure() {
        tc-is-clang && append-ldflags "--rtlib=libgcc --unwindlib=libgcc"
 
        local myconf=(
+       --ninja
                --shared-brotli
                --shared-cares
                --shared-libuv
@@ -168,7 +168,7 @@ src_configure() {
 }
 
 src_compile() {
-       emake -C out
+       emake
 }
 
 src_install() {

Reply via email to