summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuilherme Amadio <amadio@gentoo.org>2018-03-06 11:37:07 +0100
committerGuilherme Amadio <amadio@gentoo.org>2018-03-06 15:43:02 +0100
commit9c1f589dc4dba52948b85b762a5c09a8e8d64ad3 (patch)
tree1262020e9f1209905f3bf015e31effd3481d9e11 /dev-libs/libclc
parentapp-text/texi2html: prefix support (diff)
downloadgentoo-9c1f589dc4dba52948b85b762a5c09a8e8d64ad3.tar.gz
gentoo-9c1f589dc4dba52948b85b762a5c09a8e8d64ad3.tar.bz2
gentoo-9c1f589dc4dba52948b85b762a5c09a8e8d64ad3.zip
dev-libs/libclc: prefix support
Package-Manager: Portage-2.3.24, Repoman-2.3.6
Diffstat (limited to 'dev-libs/libclc')
-rw-r--r--dev-libs/libclc/libclc-0.2.0_pre20170929.ebuild11
1 files 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 800e35118e41..58c4b2f64c1e 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