diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-07-09 13:40:58 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-07-09 13:40:58 +0000 |
commit | 457166f1a7a2b2cee80258b8f8fdfc20dc2f048f (patch) | |
tree | e006b0a2a91e8bc84110caa7a648204572ea2653 /eclass | |
parent | add emacs pre- and postlude, bug 184621 (diff) | |
download | gentoo-2-457166f1a7a2b2cee80258b8f8fdfc20dc2f048f.tar.gz gentoo-2-457166f1a7a2b2cee80258b8f8fdfc20dc2f048f.tar.bz2 gentoo-2-457166f1a7a2b2cee80258b8f8fdfc20dc2f048f.zip |
Unbreak on BSD userland: mv -b is non-standard option.
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/elisp-common.eclass | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/elisp-common.eclass b/eclass/elisp-common.eclass index d034fde7659d..b3b2dfe14cba 100644 --- a/eclass/elisp-common.eclass +++ b/eclass/elisp-common.eclass @@ -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/eclass/elisp-common.eclass,v 1.22 2007/07/02 06:19:18 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/elisp-common.eclass,v 1.23 2007/07/09 13:40:58 flameeyes Exp $ # # Copyright 2007 Christian Faulhammer <opfer@gentoo.org> # Copyright 2002-2007 Matthew Kennedy <mkennedy@gentoo.org> @@ -121,6 +121,8 @@ # As always: Feel free to contact Emacs team through emacs@gentoo.org if you # have problems, suggestions or questions. +IUSE="userland_GNU" + SITELISP=/usr/share/emacs/site-lisp elisp-compile() { @@ -205,7 +207,9 @@ EOF # A case is a remerge where we have doubled output einfo "... no changes" else - mv -b "${T}"/site-gentoo.el "${ROOT}${SITELISP}"/site-gentoo.el + local mvopts="" + use userland_GNU && mvopts="-b" + mv ${mvopts} "${T}"/site-gentoo.el "${ROOT}${SITELISP}"/site-gentoo.el einfo "" for sf in ${sflist}; do einfo " Adding ${sf} ..." |