summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2011-07-18 23:46:31 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2011-07-18 23:46:31 +0000
commit0b6a70ac0e7e97876af0e00b721b10cdb3b3b9ae (patch)
treef7a9c0d620ffb470c34186bbc3630487bccd3adb
parentRemove old. (diff)
downloadgentoo-2-0b6a70ac0e7e97876af0e00b721b10cdb3b3b9ae.tar.gz
gentoo-2-0b6a70ac0e7e97876af0e00b721b10cdb3b3b9ae.tar.bz2
gentoo-2-0b6a70ac0e7e97876af0e00b721b10cdb3b3b9ae.zip
Escape the variable to avoid undefined command during src_prepare phase.
(Portage version: 2.2.0_alpha45/cvs/Linux x86_64)
-rw-r--r--dev-util/dmake/ChangeLog5
-rw-r--r--dev-util/dmake/dmake-4.11-r1.ebuild4
2 files changed, 6 insertions, 3 deletions
diff --git a/dev-util/dmake/ChangeLog b/dev-util/dmake/ChangeLog
index 52eb1af9af48..81b5ac957472 100644
--- a/dev-util/dmake/ChangeLog
+++ b/dev-util/dmake/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/dmake
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/dmake/ChangeLog,v 1.22 2011/06/13 22:08:54 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/dmake/ChangeLog,v 1.23 2011/07/18 23:46:31 scarabeus Exp $
+
+ 18 Jul 2011; Tomáš Chvátal <scarabeus@gentoo.org> dmake-4.11-r1.ebuild:
+ Escape the variable to avoid undefined command during src_prepare phase.
13 Jun 2011; Jeroen Roovers <jer@gentoo.org> dmake-4.11.ebuild,
dmake-4.11-r1.ebuild:
diff --git a/dev-util/dmake/dmake-4.11-r1.ebuild b/dev-util/dmake/dmake-4.11-r1.ebuild
index cd7d0ed635d7..97939cd26b68 100644
--- a/dev-util/dmake/dmake-4.11-r1.ebuild
+++ b/dev-util/dmake/dmake-4.11-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/dmake/dmake-4.11-r1.ebuild,v 1.2 2011/06/13 22:08:54 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/dmake/dmake-4.11-r1.ebuild,v 1.3 2011/07/18 23:46:31 scarabeus Exp $
EAPI="2"
@@ -28,7 +28,7 @@ src_prepare() {
-e "s/gcc/$(tc-getCC) ${CFLAGS}/g" \
-e "s|-O\( -o dmake\)|${LDFLAGS}\1|g" \
|| die "sed failed"
- sed -i -e "s|\$(DMAKEROOT)|$(ROOTDIR)/usr/share/dmake/startup|" \
+ sed -i -e "s|\$(DMAKEROOT)|\$(ROOTDIR)/usr/share/dmake/startup|" \
unix/startup.h || die "sed failed" #360323
}