summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2006-03-10 05:19:56 +0000
committerMark Loeser <halcy0n@gentoo.org>2006-03-10 05:19:56 +0000
commitebb67fd9f8bec06e19dda230cbe2432372ae35e0 (patch)
treeb15ca240e7ba9bfb818180165d65bc5155c6f988 /app-misc/endeavour/endeavour-2.4.6.ebuild
parentMark 0.7.4-r1 stable on ia64 (diff)
downloadgentoo-2-ebb67fd9f8bec06e19dda230cbe2432372ae35e0.tar.gz
gentoo-2-ebb67fd9f8bec06e19dda230cbe2432372ae35e0.tar.bz2
gentoo-2-ebb67fd9f8bec06e19dda230cbe2432372ae35e0.zip
Patch to fix compilation with gcc-4.1, thanks to Patrizio Bassi <hetfield666 AT gmail DOT com> for reporting the problem; bug #125010
(Portage version: 2.1_pre5-r4)
Diffstat (limited to 'app-misc/endeavour/endeavour-2.4.6.ebuild')
-rw-r--r--app-misc/endeavour/endeavour-2.4.6.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/app-misc/endeavour/endeavour-2.4.6.ebuild b/app-misc/endeavour/endeavour-2.4.6.ebuild
index 4d0beb780c70..93a51e2e2b7d 100644
--- a/app-misc/endeavour/endeavour-2.4.6.ebuild
+++ b/app-misc/endeavour/endeavour-2.4.6.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/endeavour/endeavour-2.4.6.ebuild,v 1.4 2005/04/08 04:08:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/endeavour/endeavour-2.4.6.ebuild,v 1.5 2006/03/10 05:19:56 halcy0n Exp $
inherit eutils
@@ -24,6 +24,7 @@ src_unpack() {
unpack ${M}.tgz
cd "${S}"
epatch "${FILESDIR}"/${P}-gcc33.patch
+ epatch "${FILESDIR}"/${P}-gcc41.patch
}
src_compile() {
@@ -40,9 +41,9 @@ src_install() {
doman endeavour2.1
dodir /usr/share/endeavour2
- cp -R data/* ${D}/usr/share/endeavour2 || die
+ cp -R data/* "${D}"/usr/share/endeavour2 || die
dodir /usr/share/endeavour2/icons/
- cp -R images/* ${D}/usr/share/endeavour2/icons/
+ cp -R images/* "${D}"/usr/share/endeavour2/icons/
cd images
insinto /usr/share/icons
@@ -50,7 +51,7 @@ src_install() {
icon_trash_empty_48x48.xpm
# install mimetypes
- cd ${WORKDIR}/${M}
+ cd "${WORKDIR}"/${M}
mv README README.mimetypes
dodoc README.mimetypes
insinto /usr/share/endeavour2/