summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Koltsov <maksbotan@gentoo.org>2013-03-09 19:52:38 +0000
committerMaxim Koltsov <maksbotan@gentoo.org>2013-03-09 19:52:38 +0000
commit6bf886586b2cbb4dfee5c53ebd6a402cfbd8d9cb (patch)
tree689697460add6e26d7d05d3f90d8d19db5de8f72 /eclass/leechcraft.eclass
parentdev-libs/quazip: Only do test with USE=test, #460912 (diff)
downloadgentoo-2-6bf886586b2cbb4dfee5c53ebd6a402cfbd8d9cb.tar.gz
gentoo-2-6bf886586b2cbb4dfee5c53ebd6a402cfbd8d9cb.tar.bz2
gentoo-2-6bf886586b2cbb4dfee5c53ebd6a402cfbd8d9cb.zip
Fix leechcraft.eclass to support new category, bug #460958.
Diffstat (limited to 'eclass/leechcraft.eclass')
-rw-r--r--eclass/leechcraft.eclass10
1 files changed, 5 insertions, 5 deletions
diff --git a/eclass/leechcraft.eclass b/eclass/leechcraft.eclass
index 1ef705e9907a..bb1a83c406a5 100644
--- a/eclass/leechcraft.eclass
+++ b/eclass/leechcraft.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/leechcraft.eclass,v 1.7 2012/10/14 12:19:32 pinkbyte Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/leechcraft.eclass,v 1.8 2013/03/09 19:52:38 maksbotan Exp $
#
# @ECLASS: leechcraft.eclass
# @MAINTAINER:
@@ -56,9 +56,9 @@ LICENSE="GPL-3"
: ${LEECHCRAFT_PLUGIN_CATEGORY:=}
if [[ "${LEECHCRAFT_PLUGIN_CATEGORY}" ]]; then
- CMAKE_USE_DIR="${S}"/src/plugins/${LEECHCRAFT_PLUGIN_CATEGORY}/${PN#leechcraft-}
-elif [[ ${PN} != leechcraft-core ]]; then
- CMAKE_USE_DIR="${S}"/src/plugins/${PN#leechcraft-}
+ CMAKE_USE_DIR="${S}"/src/plugins/${LEECHCRAFT_PLUGIN_CATEGORY}/${PN#lc-}
+elif [[ ${PN} != lc-core ]]; then
+ CMAKE_USE_DIR="${S}"/src/plugins/${PN#lc-}
else
CMAKE_USE_DIR="${S}"/src
fi