From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B760C1395E2 for ; Fri, 2 Dec 2016 02:33:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DE6D6E0BFC; Fri, 2 Dec 2016 02:33:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C7507E0BFC for ; Fri, 2 Dec 2016 02:33:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 92AD3341063 for ; Fri, 2 Dec 2016 02:33:38 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 80A4C24A2 for ; Fri, 2 Dec 2016 02:33:35 +0000 (UTC) From: "Benda XU" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Benda XU" Message-ID: <1480646008.63b961ed7a24ed28a3866edf3be78bdf50db6827.heroxbd@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lua/lpeg/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lua/lpeg/lpeg-1.0.0-r1.ebuild X-VCS-Directories: dev-lua/lpeg/ X-VCS-Committer: heroxbd X-VCS-Committer-Name: Benda XU X-VCS-Revision: 63b961ed7a24ed28a3866edf3be78bdf50db6827 X-VCS-Branch: master Date: Fri, 2 Dec 2016 02:33:35 +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: 80405ef1-5321-4567-bb8a-0ce000acd5b8 X-Archives-Hash: 944b07c1bd97742169c7863542ac3cfd commit: 63b961ed7a24ed28a3866edf3be78bdf50db6827 Author: Benda Xu gentoo org> AuthorDate: Fri Dec 2 02:33:04 2016 +0000 Commit: Benda XU gentoo org> CommitDate: Fri Dec 2 02:33:28 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63b961ed dev-lua/lpeg: support Prefix. Package-Manager: portage-2.3.2 dev-lua/lpeg/lpeg-1.0.0-r1.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dev-lua/lpeg/lpeg-1.0.0-r1.ebuild b/dev-lua/lpeg/lpeg-1.0.0-r1.ebuild index 059315a..0d39949 100644 --- a/dev-lua/lpeg/lpeg-1.0.0-r1.ebuild +++ b/dev-lua/lpeg/lpeg-1.0.0-r1.ebuild @@ -39,9 +39,12 @@ src_test() { } src_install() { - exeinto "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))" + local instdir + instdir="$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))" + exeinto "${inst#${EPREFIX}}" doexe lpeg.so - insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))" + instdir="$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))" + insinto "${inst#${EPREFIX}}" doins re.lua use doc && einstalldocs