summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2005-08-21 04:56:53 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2005-08-21 04:56:53 +0000
commitbc787734f65fb396b1412660b391ad2e862baf23 (patch)
treedfb0e2d2623081984301198b1fcd04915e5f84b2 /eclass/x-modular.eclass
parentDisable emacs support #99533. (diff)
downloadhistorical-bc787734f65fb396b1412660b391ad2e862baf23.tar.gz
historical-bc787734f65fb396b1412660b391ad2e862baf23.tar.bz2
historical-bc787734f65fb396b1412660b391ad2e862baf23.zip
Create x-modular_src_configure() and x-modular_src_make() so people can do actions in-between them, if necessary.
Diffstat (limited to 'eclass/x-modular.eclass')
-rw-r--r--eclass/x-modular.eclass12
1 files changed, 10 insertions, 2 deletions
diff --git a/eclass/x-modular.eclass b/eclass/x-modular.eclass
index 50b3da24443a..9c6885d356c1 100644
--- a/eclass/x-modular.eclass
+++ b/eclass/x-modular.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.5 2005/08/15 00:33:31 spyderous Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/x-modular.eclass,v 1.6 2005/08/21 04:56:53 spyderous Exp $
#
# Author: Donnie Berkholz <spyderous@gentoo.org>
#
@@ -102,16 +102,24 @@ x-modular_src_unpack() {
x-modular_reconf_source
}
-x-modular_src_compile() {
+x-modular_src_configure() {
# If prefix isn't set here, .pc files cause problems
if [ -x ./configure ]; then
econf --prefix=${XDIR} \
--datadir=${XDIR}/share \
${CONFIGURE_OPTIONS}
fi
+}
+
+x-modular_src_make() {
emake || die "emake failed"
}
+x-modular_src_compile() {
+ x-modular_src_configure
+ x-modular_src_make
+}
+
x-modular_src_install() {
# Install everything to ${XDIR}
make \