From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id B55C058973 for ; Thu, 11 Feb 2016 20:19:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C45E21C001; Thu, 11 Feb 2016 20:19:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 37DE921C001 for ; Thu, 11 Feb 2016 20:19:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5A8F3340BCA for ; Thu, 11 Feb 2016 20:19:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DBA738F8 for ; Thu, 11 Feb 2016 20:18:59 +0000 (UTC) From: "Patrick Lauer" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrick Lauer" Message-ID: <1455221889.13be6cf4352e8b49a01dd871e8a52698dcd3c95c.patrick@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/nodejs/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/nodejs/nodejs-5.6.0-r1.ebuild net-libs/nodejs/nodejs-5.6.0.ebuild X-VCS-Directories: net-libs/nodejs/ X-VCS-Committer: patrick X-VCS-Committer-Name: Patrick Lauer X-VCS-Revision: 13be6cf4352e8b49a01dd871e8a52698dcd3c95c X-VCS-Branch: master Date: Thu, 11 Feb 2016 20:18:59 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 0b2bd1b0-1131-4706-ba6d-4fbab198cc7d X-Archives-Hash: 9f057c64d5a8eaeedbece8a8a0f59aa8 commit: 13be6cf4352e8b49a01dd871e8a52698dcd3c95c Author: Patrick Lauer gentoo org> AuthorDate: Thu Feb 11 20:17:53 2016 +0000 Commit: Patrick Lauer gentoo org> CommitDate: Thu Feb 11 20:18:09 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13be6cf4 net-libs/nodejs: Unhardcode path #574460 Package-Manager: portage-2.2.27 net-libs/nodejs/{nodejs-5.6.0.ebuild => nodejs-5.6.0-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/nodejs/nodejs-5.6.0.ebuild b/net-libs/nodejs/nodejs-5.6.0-r1.ebuild similarity index 98% rename from net-libs/nodejs/nodejs-5.6.0.ebuild rename to net-libs/nodejs/nodejs-5.6.0-r1.ebuild index 72657ac..0c740de 100644 --- a/net-libs/nodejs/nodejs-5.6.0.ebuild +++ b/net-libs/nodejs/nodejs-5.6.0-r1.ebuild @@ -148,7 +148,7 @@ src_install() { # Install bash completion for `npm` # We need to temporarily replace default config path since # npm otherwise tries to write outside of the sandbox - local npm_config="usr/lib64/node_modules/npm/lib/config/core.js" + local npm_config="usr/$(get_libdir)/node_modules/npm/lib/config/core.js" sed -i -e "s|'/etc'|'${D}/etc'|g" "${ED}/${npm_config}" || die local tmp_npm_completion_file="$(emktemp)" "${ED}/usr/bin/npm" completion > "${tmp_npm_completion_file}"