summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-01-04 22:56:04 +0000
committerMichał Górny <mgorny@gentoo.org>2014-01-04 22:56:04 +0000
commit2f8c48b71a6d717cccc0f0afec2aca30068855de (patch)
treef7e0dc986d312dfa6b8b12eb64aa0b7b8252e732 /dev-libs/libRocket/libRocket-9999.ebuild
parentReplace the explicit ABI==DEFAULT_ABI check with multilib_build_binaries ecla... (diff)
downloadhistorical-2f8c48b71a6d717cccc0f0afec2aca30068855de.tar.gz
historical-2f8c48b71a6d717cccc0f0afec2aca30068855de.tar.bz2
historical-2f8c48b71a6d717cccc0f0afec2aca30068855de.zip
Replace the explicit ABI==DEFAULT_ABI check with multilib_build_binaries eclass function.
Package-Manager: portage-2.2.7/cvs/Linux x86_64 Manifest-Sign-Key: 0xEFB4464E!
Diffstat (limited to 'dev-libs/libRocket/libRocket-9999.ebuild')
-rw-r--r--dev-libs/libRocket/libRocket-9999.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/dev-libs/libRocket/libRocket-9999.ebuild b/dev-libs/libRocket/libRocket-9999.ebuild
index d732102f97e3..235483a824d4 100644
--- a/dev-libs/libRocket/libRocket-9999.ebuild
+++ b/dev-libs/libRocket/libRocket-9999.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libRocket/libRocket-9999.ebuild,v 1.5 2013/09/05 18:29:52 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libRocket/libRocket-9999.ebuild,v 1.6 2014/01/04 22:56:02 mgorny Exp $
EAPI=5
@@ -42,7 +42,7 @@ multilib_src_configure() {
-DSAMPLES_DIR=/usr/share/${PN}/samples
)
- if [[ ${ABI} == ${DEFAULT_ABI} ]] ; then
+ if multilib_build_binaries ; then
mycmakeargs+=( $(cmake-utils_use_build samples SAMPLES) )
else
mycmakeargs+=( -DBUILD_SAMPLES=OFF )
@@ -50,7 +50,7 @@ multilib_src_configure() {
cmake-utils_src_configure
- if [[ ${ABI} == ${DEFAULT_ABI} ]] ; then
+ if multilib_build_binaries ; then
if use python ; then
cfgpybind() {
local mycmakeargs=(
@@ -68,7 +68,7 @@ multilib_src_configure() {
multilib_src_compile() {
cmake-utils_src_compile
- if [[ ${ABI} == ${DEFAULT_ABI} ]] ; then
+ if multilib_build_binaries ; then
if use python ; then
buildpybind() {
cp "${S}-${ABI}"/{libRocketCore*,libRocketControls*} "${python_BUILD_DIR}-${EPYTHON}"/ || die
@@ -83,7 +83,7 @@ multilib_src_compile() {
multilib_src_install() {
cmake-utils_src_install
- if [[ ${ABI} == ${DEFAULT_ABI} ]] ; then
+ if multilib_build_binaries ; then
if use python ; then
instpybind() {
python_domodule "${S}"/bin/rocket.py