summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2010-10-13 17:27:35 +0000
committerHans de Graaff <graaff@gentoo.org>2010-10-13 17:27:35 +0000
commit517d8842f8fb55ab37ce6fccf0d2b1d65f6683ee (patch)
tree8d812448b28c778aaaa3bab78d4de637d2c6d9a6 /eclass/xemacs-packages.eclass
parent*portage-2.2_rc95 (13 Oct 2010) (diff)
downloadhistorical-517d8842f8fb55ab37ce6fccf0d2b1d65f6683ee.tar.gz
historical-517d8842f8fb55ab37ce6fccf0d2b1d65f6683ee.tar.bz2
historical-517d8842f8fb55ab37ce6fccf0d2b1d65f6683ee.zip
Die on unsupported or unset package category. Set proper dependencies.
Diffstat (limited to 'eclass/xemacs-packages.eclass')
-rw-r--r--eclass/xemacs-packages.eclass7
1 files changed, 5 insertions, 2 deletions
diff --git a/eclass/xemacs-packages.eclass b/eclass/xemacs-packages.eclass
index c6120628943b..5dd811d57fdf 100644
--- a/eclass/xemacs-packages.eclass
+++ b/eclass/xemacs-packages.eclass
@@ -1,13 +1,14 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/xemacs-packages.eclass,v 1.15 2009/06/21 14:53:12 graaff Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/xemacs-packages.eclass,v 1.16 2010/10/13 17:27:35 graaff Exp $
#
# xemacs-packages eclass inherited by all xemacs packages
# $PKG_CAT need's to be set before inheriting xemacs-packages
EXPORT_FUNCTIONS src_unpack src_compile src_install
-DEPEND="app-editors/xemacs"
+RDEPEND="${RDEPEND} app-editors/xemacs"
+DEPEND="${DEPEND}"
[ -z "$HOMEPAGE" ] && HOMEPAGE="http://xemacs.org/"
[ -z "$LICENSE" ] && LICENSE="GPL-2"
@@ -21,6 +22,8 @@ case "${PKG_CAT}" in
"contrib" )
MY_INSTALL_DIR="/usr/lib/xemacs/site-packages" ;;
+ *)
+ die "Unsupported package category in PKG_CAT (or unset)" ;;
esac
[ -n "$DEBUG" ] && einfo "MY_INSTALL_DIR is ${MY_INSTALL_DIR}"