From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1007716-garchives=archives.gentoo.org@lists.gentoo.org>
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 8CAFB138332
	for <garchives@archives.gentoo.org>; Tue,  6 Mar 2018 14:43:21 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 82C9AE08FB;
	Tue,  6 Mar 2018 14:43:20 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 5B243E08ED
	for <gentoo-commits@lists.gentoo.org>; Tue,  6 Mar 2018 14:43:20 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 4BDD7335C2C
	for <gentoo-commits@lists.gentoo.org>; Tue,  6 Mar 2018 14:43:19 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 9B9B9240
	for <gentoo-commits@lists.gentoo.org>; Tue,  6 Mar 2018 14:43:17 +0000 (UTC)
From: "Guilherme Amadio" <amadio@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Guilherme Amadio" <amadio@gentoo.org>
Message-ID: <1520347382.9c1f589dc4dba52948b85b762a5c09a8e8d64ad3.amadio@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libclc/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-libs/libclc/libclc-0.2.0_pre20170929.ebuild
X-VCS-Directories: dev-libs/libclc/
X-VCS-Committer: amadio
X-VCS-Committer-Name: Guilherme Amadio
X-VCS-Revision: 9c1f589dc4dba52948b85b762a5c09a8e8d64ad3
X-VCS-Branch: master
Date: Tue,  6 Mar 2018 14:43:17 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Archives-Salt: 265b5215-e76c-4dc3-859b-5ba798b78c6e
X-Archives-Hash: abeda345c71c451c3b3eab2db52fc978

commit:     9c1f589dc4dba52948b85b762a5c09a8e8d64ad3
Author:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
AuthorDate: Tue Mar  6 10:37:07 2018 +0000
Commit:     Guilherme Amadio <amadio <AT> gentoo <DOT> org>
CommitDate: Tue Mar  6 14:43:02 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c1f589d

dev-libs/libclc: prefix support

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-libs/libclc/libclc-0.2.0_pre20170929.ebuild | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/dev-libs/libclc/libclc-0.2.0_pre20170929.ebuild b/dev-libs/libclc/libclc-0.2.0_pre20170929.ebuild
index 800e35118e4..58c4b2f64c1 100644
--- a/dev-libs/libclc/libclc-0.2.0_pre20170929.ebuild
+++ b/dev-libs/libclc/libclc-0.2.0_pre20170929.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -15,7 +15,7 @@ else
 	GIT_ECLASS="vcs-snapshot"
 fi
 
-inherit llvm python-any-r1 toolchain-funcs ${GIT_ECLASS}
+inherit llvm prefix python-any-r1 toolchain-funcs ${GIT_ECLASS}
 
 DESCRIPTION="OpenCL C library"
 HOMEPAGE="http://libclc.llvm.org/"
@@ -47,6 +47,13 @@ llvm_check_deps() {
 	has_version "sys-devel/clang:${LLVM_SLOT}"
 }
 
+src_prepare() {
+	default
+	if use prefix; then
+		hprefixify configure.py
+	fi
+}
+
 pkg_setup() {
 	# we do not need llvm_pkg_setup
 	python-any-r1_pkg_setup