summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2008-01-18 02:06:45 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2008-01-18 02:06:45 +0000
commit4bb859475639464801c5fdbfeb65dd3f5a9e8243 (patch)
tree9b486417ed6208a2e98dd219bd18d4713d413436 /media-sound/erec/erec-2.2.0.1.ebuild
parentAdded KDE 4.0.0's systemsettings. (diff)
downloadgentoo-2-4bb859475639464801c5fdbfeb65dd3f5a9e8243.tar.gz
gentoo-2-4bb859475639464801c5fdbfeb65dd3f5a9e8243.tar.bz2
gentoo-2-4bb859475639464801c5fdbfeb65dd3f5a9e8243.zip
quoting for $S; error check dobin; skip using hard-coded portage directory for include (fixes bug #205670)
(Portage version: 2.1.3.19)
Diffstat (limited to 'media-sound/erec/erec-2.2.0.1.ebuild')
-rw-r--r--media-sound/erec/erec-2.2.0.1.ebuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/media-sound/erec/erec-2.2.0.1.ebuild b/media-sound/erec/erec-2.2.0.1.ebuild
index 2805bf360fd9..7705b59f7305 100644
--- a/media-sound/erec/erec-2.2.0.1.ebuild
+++ b/media-sound/erec/erec-2.2.0.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/erec/erec-2.2.0.1.ebuild,v 1.9 2007/07/11 19:30:23 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/erec/erec-2.2.0.1.ebuild,v 1.10 2008/01/18 02:06:45 mr_bones_ Exp $
DESCRIPTION="A shared audio recording server"
HOMEPAGE="http://bisqwit.iki.fi/source/erec.html"
@@ -17,17 +17,17 @@ IUSE=""
src_unpack() {
unpack ${A}
- cd ${S}
+ cd "${S}"
sed -i \
-e "s:BINDIR=/usr/local/bin:BINDIR=${D}usr/bin:" \
-e "s:^\\(ARGHLINK.*-L.*\\):#\\1:" \
-e "s:^#\\(ARGHLINK=.*a\\)$:\\1:" \
- -e "s:\$(CXX):\$(CXX) \$(CXXFLAGS) -I${S}/argh:g" \
+ -e "s:\$(CXX):\$(CXX) \$(CXXFLAGS) -I\"${S}\"/argh:g" \
Makefile
sed -i \
- -e 's:CPPFLAGS=:CPPFLAGS=-I/var/tmp/portage/erec-2.2.0.1/work/erec-2.2.0.1/argh :' \
+ -e "s:CPPFLAGS=:CPPFLAGS=-I\"${S}\"/argh :" \
Makefile.sets
echo "" > .depend
@@ -39,7 +39,7 @@ src_compile() {
}
src_install() {
- dobin erec
+ dobin erec || die
dodoc README
dohtml README.html
}