diff options
author | Ulrich Müller <ulm@gentoo.org> | 2007-06-26 07:09:11 +0000 |
---|---|---|
committer | Ulrich Müller <ulm@gentoo.org> | 2007-06-26 07:09:11 +0000 |
commit | 4a1ef072b3df1fd616044d6dd8d7d82f1fdbc29d (patch) | |
tree | 6f0022817e02a418b54ff57b5273789191443a61 /app-emacs/remember | |
parent | Use previous sitefile again. Setup remember to work with planner. (diff) | |
download | gentoo-2-4a1ef072b3df1fd616044d6dd8d7d82f1fdbc29d.tar.gz gentoo-2-4a1ef072b3df1fd616044d6dd8d7d82f1fdbc29d.tar.bz2 gentoo-2-4a1ef072b3df1fd616044d6dd8d7d82f1fdbc29d.zip |
Handle USE flags in src_compile.
(Portage version: 2.1.3_rc5)
Diffstat (limited to 'app-emacs/remember')
-rw-r--r-- | app-emacs/remember/ChangeLog | 5 | ||||
-rw-r--r-- | app-emacs/remember/remember-1.9-r1.ebuild | 23 |
2 files changed, 11 insertions, 17 deletions
diff --git a/app-emacs/remember/ChangeLog b/app-emacs/remember/ChangeLog index 703b66077e3c..dfbfdfed2c87 100644 --- a/app-emacs/remember/ChangeLog +++ b/app-emacs/remember/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-emacs/remember # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/remember/ChangeLog,v 1.9 2007/06/25 18:43:22 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/remember/ChangeLog,v 1.10 2007/06/26 07:09:11 ulm Exp $ + + 26 Jun 2007; Ulrich Mueller <ulm@gentoo.org> remember-1.9-r1.ebuild: + Handle USE flags in src_compile. *remember-1.9-r1 (25 Jun 2007) diff --git a/app-emacs/remember/remember-1.9-r1.ebuild b/app-emacs/remember/remember-1.9-r1.ebuild index 079ed327557e..39c0e0e30d46 100644 --- a/app-emacs/remember/remember-1.9-r1.ebuild +++ b/app-emacs/remember/remember-1.9-r1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-emacs/remember/remember-1.9-r1.ebuild,v 1.1 2007/06/25 18:43:22 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-emacs/remember/remember-1.9-r1.ebuild,v 1.2 2007/06/26 07:09:11 ulm Exp $ inherit elisp eutils @@ -23,27 +23,18 @@ src_unpack() { unpack ${A} cd "${S}" epatch "${FILESDIR}/${P}-make-elc.patch" - - # don't try to compile files with unsatisfied dependencies - mkdir nocompile - mv remember-{bibl,blosxom,emacs-wiki-journal}.el nocompile - - if ! use bbdb; then - elog "bbdb USE flag not set - removing remember-bbdb.el" - rm -f remember-bbdb.el - fi - if ! use planner; then - elog "planner USE flag not set - removing remember-planner.el" - rm -f remember-{planner,experimental}.el - fi } src_compile() { - emake || die "emake failed" + local EL="remember.el remember-diary.el read-file-name.el" + use bbdb && EL="${EL} remember-bbdb.el" + use planner && EL="${EL} remember-planner.el remember-experimental.el" + + emake EL="${EL}" || die "emake failed" } src_install() { - elisp-install ${PN} *.{el,elc} nocompile/*.el + elisp-install ${PN} *.{el,elc} elisp-site-file-install "${FILESDIR}/${SITEFILE}" doinfo remember-el.info dodoc ChangeLog |