From: Sven Wegener Date: Thu, 13 Oct 2005 15:13:14 +0000 (+0000) Subject: Apply whitespace checks from repoman to eclasses. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=821b9c14b57517442d6e5a64347cbc433a53c1e7;p=gentoo.git Apply whitespace checks from repoman to eclasses. --- diff --git a/eclass/kde.eclass b/eclass/kde.eclass index 45b635f21da2..28bd2482bf05 100644 --- a/eclass/kde.eclass +++ b/eclass/kde.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.137 2005/10/12 11:18:41 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kde.eclass,v 1.138 2005/10/13 15:13:14 swegener Exp $ # # Author Dan Armak # @@ -232,7 +232,7 @@ slot_rebuild() { m="" for l in ${k} ; do [[ -e ${l} ]] && m="${m} ${l}"; done l="$(echo ${k} ${m} | fmt -w 1 | sort | uniq -u)" - + if [[ ${l} != "" ]] || [[ ${m} == "" ]] ; then eerror "Installation of ${j/${VDB_PATH}\//} is broken." BROKEN_PKGS="${BROKEN_PKGS} ${j/${VDB_PATH}\//}" @@ -243,7 +243,7 @@ slot_rebuild() { fi done done - echo + echo if [[ -n "${BROKEN_PKGS}" ]] ; then eerror "Anomalies were found. Please do \"emerge ${BROKEN_PKGS}\"." return 1 diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 5cc39b052f8a..ddd173f7b34f 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.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/kernel-2.eclass,v 1.149 2005/10/10 17:59:03 johnm Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.150 2005/10/13 15:13:14 swegener Exp $ # Description: kernel.eclass rewrite for a clean base regarding the 2.6 # series of kernel with back-compatibility for 2.4 @@ -516,7 +516,7 @@ install_manpages() { local myfiles="Documentation/DocBook/Makefile" kernel_is lt 2 6 12 && myfiles="scripts/makeman ${myfiles}" - + sed -ie "s#/usr/local/man#${D}/usr/share/man#g" ${myfiles} ebegin "Installing manpages" env -u ARCH make installmandocs diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass index 177def4498bc..9bbbacba27a3 100644 --- a/eclass/multilib.eclass +++ b/eclass/multilib.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.44 2005/10/13 03:43:55 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/multilib.eclass,v 1.45 2005/10/13 15:13:14 swegener Exp $ # # Author: Jeremy Huddleston # @@ -594,7 +594,7 @@ multilib_env() { export LIBDIR_n64="lib64" export MULTILIB_ABIS="n64 n32" # o32 - export DEFAULT_ABI="n32" + export DEFAULT_ABI="n32" ;; powerpc64*) export CFLAGS_ppc=${CFLAGS_ppc--m32} diff --git a/eclass/xfce42.eclass b/eclass/xfce42.eclass index 78cb905e3947..a254c1d3cbb3 100644 --- a/eclass/xfce42.eclass +++ b/eclass/xfce42.eclass @@ -61,10 +61,10 @@ single_make() { JOBS="-j1" } -## want_einstall +## want_einstall want_einstall() { INSTALL="einstall" -} +} ## LICENSE is set to Xfce base packages default LICENSE="GPL-2" @@ -78,7 +78,7 @@ RDEPEND=">=x11-libs/gtk+-2.2 >=x11-themes/gtk-engines-xfce-2.2.5 ${RDEPEND}" DEPEND="${RDEPEND} - dev-util/pkgconfig" + dev-util/pkgconfig" #S="${WORKDIR}/${MY_P:-${P}}"