summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <ottxor@gentoo.org>2012-08-23 03:16:47 +0000
committerChristoph Junghans <ottxor@gentoo.org>2012-08-23 03:16:47 +0000
commita2b0e0fa34da8601513786e9a6be0d717046bdcc (patch)
tree5b0487f194a6358fb695eab26a36e1dcc16ffe4e /gnome-extra/nautilus-dropbox/nautilus-dropbox-1.4.0.ebuild
parentVersion bump. (diff)
downloadgentoo-2-a2b0e0fa34da8601513786e9a6be0d717046bdcc.tar.gz
gentoo-2-a2b0e0fa34da8601513786e9a6be0d717046bdcc.tar.bz2
gentoo-2-a2b0e0fa34da8601513786e9a6be0d717046bdcc.zip
fix prefix support (bug #378721)
(Portage version: 2.2.0_alpha121/cvs/Linux i686)
Diffstat (limited to 'gnome-extra/nautilus-dropbox/nautilus-dropbox-1.4.0.ebuild')
-rw-r--r--gnome-extra/nautilus-dropbox/nautilus-dropbox-1.4.0.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnome-extra/nautilus-dropbox/nautilus-dropbox-1.4.0.ebuild b/gnome-extra/nautilus-dropbox/nautilus-dropbox-1.4.0.ebuild
index 26c6ece4ddb8..0e31cae13299 100644
--- a/gnome-extra/nautilus-dropbox/nautilus-dropbox-1.4.0.ebuild
+++ b/gnome-extra/nautilus-dropbox/nautilus-dropbox-1.4.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nautilus-dropbox/nautilus-dropbox-1.4.0.ebuild,v 1.2 2012/06/07 22:22:02 zmedico Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/nautilus-dropbox/nautilus-dropbox-1.4.0.ebuild,v 1.3 2012/08/23 03:16:47 ottxor Exp $
EAPI="3"
PYTHON_DEPEND="2"
@@ -44,8 +44,8 @@ src_prepare() {
python_convert_shebangs 2 dropbox.in
# use sysem dropbox
- sed -e "s|~/[.]dropbox-dist|/opt/dropbox|" \
- -e 's|\(DROPBOXD_PATH = \).*|\1"/opt/dropbox/dropboxd"|' \
+ sed -e "s|~/[.]dropbox-dist|${EPREFIX}/opt/dropbox|" \
+ -e "s|\(DROPBOXD_PATH = \).*|\1\"${EPREFIX}/opt/dropbox/dropboxd\"|" \
-i dropbox.in || die
# us system rst2man
epatch "${FILESDIR}"/${PN}-0.7.0-system-rst2man.patch