net-libs/nodejs: EAPI=6.
authorJeroen Roovers <jer@gentoo.org>
Thu, 4 Jan 2018 12:30:26 +0000 (13:30 +0100)
committerJeroen Roovers <jer@gentoo.org>
Thu, 4 Jan 2018 12:30:58 +0000 (13:30 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

net-libs/nodejs/nodejs-0.12.18.ebuild
net-libs/nodejs/nodejs-4.8.7.ebuild

index 4bfc66c6f8cf56c2d81a5b48f2d5568b7c0dd49a..2b8a1d20345417cf5b5380a59172b73fcb6c3d99 100644 (file)
@@ -52,13 +52,13 @@ src_prepare() {
        sed -i -e "s/'lib'/'${LIBDIR}'/" lib/module.js || die
        sed -i -e "s|\"lib\"|\"${LIBDIR}\"|" deps/npm/lib/npm.js || die
 
-       default
-
        # debug builds. change install path, remove optimisations and override buildtype
        if use debug; then
                sed -i -e "s|out/Release/|out/Debug/|g" tools/install.py || die
                BUILDTYPE=Debug
        fi
+
+       default
 }
 
 src_configure() {
index 44227b1490ce3bb7bf2855ef2abd75bbecd265a8..2d8146e4c393c41725457bcac4bf6beb9b8e4724 100644 (file)
@@ -1,7 +1,7 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
 PYTHON_COMPAT=( python2_7 )
 PYTHON_REQ_USE="threads"
@@ -73,7 +73,7 @@ src_prepare() {
                BUILDTYPE=Debug
        fi
 
-       epatch_user
+       default
 }
 
 src_configure() {