summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnant Narayanan <anant@gentoo.org>2007-10-08 06:01:46 +0000
committerAnant Narayanan <anant@gentoo.org>2007-10-08 06:01:46 +0000
commite9c501b779e8393ea63ba7fb16ba1b3b2857533d (patch)
treefcdad59f692462c37c1d95d81007bb01911b8c6f /dev-lang/dmd-bin
parentwhitespace (diff)
downloadgentoo-2-e9c501b779e8393ea63ba7fb16ba1b3b2857533d.tar.gz
gentoo-2-e9c501b779e8393ea63ba7fb16ba1b3b2857533d.tar.bz2
gentoo-2-e9c501b779e8393ea63ba7fb16ba1b3b2857533d.zip
QA fixes (quoting)
(Portage version: 2.1.3.11)
Diffstat (limited to 'dev-lang/dmd-bin')
-rw-r--r--dev-lang/dmd-bin/ChangeLog5
-rw-r--r--dev-lang/dmd-bin/dmd-bin-1.022.ebuild27
2 files changed, 18 insertions, 14 deletions
diff --git a/dev-lang/dmd-bin/ChangeLog b/dev-lang/dmd-bin/ChangeLog
index d00f125ce7e7..b39e7eaa9ab2 100644
--- a/dev-lang/dmd-bin/ChangeLog
+++ b/dev-lang/dmd-bin/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-lang/dmd-bin
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/dmd-bin/ChangeLog,v 1.10 2007/10/07 21:47:38 anant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/dmd-bin/ChangeLog,v 1.11 2007/10/08 06:01:46 anant Exp $
+
+ 08 Oct 2007; Anant Narayanan <anant@gentoo.org> dmd-bin-1.022.ebuild:
+ QA fixes (quoting)
*dmd-bin-1.022 (06 Oct 2007)
diff --git a/dev-lang/dmd-bin/dmd-bin-1.022.ebuild b/dev-lang/dmd-bin/dmd-bin-1.022.ebuild
index 61c03d5de8fd..6bf74d34c410 100644
--- a/dev-lang/dmd-bin/dmd-bin-1.022.ebuild
+++ b/dev-lang/dmd-bin/dmd-bin-1.022.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/dmd-bin/dmd-bin-1.022.ebuild,v 1.1 2007/10/07 21:47:38 anant Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/dmd-bin/dmd-bin-1.022.ebuild,v 1.2 2007/10/08 06:01:46 anant Exp $
inherit eutils
@@ -24,20 +24,20 @@ RDEPEND="amd64? ( app-emulation/emul-linux-x86-compat )
x86? ( sys-libs/libstdc++-v3 )"
src_unpack() {
- unpack ${A}
+ unpack "${A}"
# Remove unneccessary files
- mv ${S}/dmd/lib/libphobos.a ${S}/dmd
- rm -r ${S}/dmd/lib
- mkdir ${S}/dmd/lib
- mv ${S}/dmd/libphobos.a ${S}/dmd/lib
+ mv "${S}/dmd/lib/libphobos.a" "${S}/dmd"
+ rm -r "${S}/dmd/lib"
+ mkdir "${S}/dmd/lib"
+ mv "${S}/dmd/libphobos.a" "${S}/dmd/lib"
- rm -r ${S}/dm
- rm ${S}/dmd/bin/*.dll ${S}/dmd/bin/*.exe ${S}/dmd/bin/readme.txt
- rm ${S}/dmd/bin/sc.ini ${S}/dmd/bin/windbg.hlp
+ rm -r "${S}/dm"
+ rm "${S}/dmd/bin/*.dll" "${S}/dmd/bin/*.exe" "${S}/dmd/bin/readme.txt"
+ rm "${S}/dmd/bin/sc.ini" "${S}/dmd/bin/windbg.hlp"
# Cleanup line endings
- cd ${S}/dmd
+ cd "${S}/dmd"
edos2unix `find . -name '*.c' -type f`
edos2unix `find . -name '*.d' -type f`
edos2unix `find . -name '*.ddoc' -type f`
@@ -53,11 +53,12 @@ src_unpack() {
}
src_compile() {
- cd ${S}/dmd/src/phobos
+ cd "${S}/dmd/src/phobos"
sed -i -e "s:DMD=.*:DMD=${S}/dmd/bin/dmd -I${S}/dmd/src/phobos -L${S}/dmd/lib/libphobos.a:" linux.mak internal/gc/linux.mak
+ # Can't use emake, customized build system
edos2unix linux.mak internal/gc/linux.mak
make -f linux.mak
- cp libphobos.a ${S}/dmd/lib
+ cp libphobos.a "${S}/dmd/lib"
# Clean up
make -f linux.mak clean
@@ -65,7 +66,7 @@ src_compile() {
}
src_install() {
- cd ${S}/dmd
+ cd "${S}/dmd"
# Broken dmd.conf
# http://d.puremagic.com/issues/show_bug.cgi?id=278