summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-05-16 05:57:27 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-05-16 05:57:27 +0000
commitde0b2ce94a0a70e762f9fc7bd8a1d6e79ed2dcb1 (patch)
tree47a328972765b07e9eff2804ef88e91aaeb96aa1 /app-misc
parentUse toolchain-funcs.eclass instead of gcc.eclass. (diff)
downloadgentoo-2-de0b2ce94a0a70e762f9fc7bd8a1d6e79ed2dcb1.tar.gz
gentoo-2-de0b2ce94a0a70e762f9fc7bd8a1d6e79ed2dcb1.tar.bz2
gentoo-2-de0b2ce94a0a70e762f9fc7bd8a1d6e79ed2dcb1.zip
Use toolchain-funcs.eclass instead of gcc.eclass.
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/mmv/ChangeLog5
-rw-r--r--app-misc/mmv/Manifest6
-rw-r--r--app-misc/mmv/mmv-1.01b.ebuild15
3 files changed, 13 insertions, 13 deletions
diff --git a/app-misc/mmv/ChangeLog b/app-misc/mmv/ChangeLog
index ac9bc70c295b..225a929f639f 100644
--- a/app-misc/mmv/ChangeLog
+++ b/app-misc/mmv/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-misc/mmv
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mmv/ChangeLog,v 1.13 2005/01/01 15:14:56 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mmv/ChangeLog,v 1.14 2005/05/16 05:57:27 ka0ttic Exp $
+
+ 16 May 2005; Aaron Walker <ka0ttic@gentoo.org> mmv-1.01b.ebuild:
+ Use toolchain-funcs.eclass instead of gcc.eclass.
18 Dec 2004; Simon Stelling <blubb@gentoo.org> files/mmv-gcc34.patch:
fix the gcc-3.4-patch to prevent segfaults; bug #74795
diff --git a/app-misc/mmv/Manifest b/app-misc/mmv/Manifest
index 1139d8c87d45..6007813319b9 100644
--- a/app-misc/mmv/Manifest
+++ b/app-misc/mmv/Manifest
@@ -1,5 +1,5 @@
-MD5 2d478f2dae4a0eb9eb20df66e835befc ChangeLog 1052
-MD5 15376fd389676d645105887a69bb75df mmv-1.01b.ebuild 1434
+MD5 82f97220690249a8455439eb03c2034a mmv-1.01b.ebuild 1466
+MD5 a82cd73ab0f25d4e9e1ee3b04f366920 ChangeLog 1172
MD5 0c131a7201c4670302767f93643876fa metadata.xml 165
-MD5 75caa5fcf10a949e8b60e4e87498694d files/digest-mmv-1.01b 128
MD5 fd542fd1e73c5668e8c09425d15332a9 files/mmv-gcc34.patch 270
+MD5 75caa5fcf10a949e8b60e4e87498694d files/digest-mmv-1.01b 128
diff --git a/app-misc/mmv/mmv-1.01b.ebuild b/app-misc/mmv/mmv-1.01b.ebuild
index 01a12a2349e6..378d1fea3294 100644
--- a/app-misc/mmv/mmv-1.01b.ebuild
+++ b/app-misc/mmv/mmv-1.01b.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mmv/mmv-1.01b.ebuild,v 1.12 2005/01/01 15:14:56 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mmv/mmv-1.01b.ebuild,v 1.13 2005/05/16 05:57:27 ka0ttic Exp $
-inherit eutils gcc toolchain-funcs
+inherit eutils toolchain-funcs
DESCRIPTION="Move/copy/append/link multiple files according to a set of wildcard patterns."
HOMEPAGE="http://packages.debian.org/unstable/utils/mmv.html"
@@ -14,32 +14,29 @@ SRC_URI="mirror://debian/pool/main/m/mmv/${P/-/_}.orig.tar.gz
LICENSE="freedist"
SLOT="0"
-
KEYWORDS="x86 amd64"
IUSE=""
-S=${WORKDIR}/${P}.orig
+S="${WORKDIR}/${P}.orig"
src_unpack() {
unpack ${P/-/_}.orig.tar.gz
epatch ${DISTDIR}/${P/-/_}-${PATCH_DEB_VER}.diff.gz
#apply both patches to compile with gcc-3.4 closing bug #62711
- if [ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "4" ]
+ if [[ $(gcc-major-version) -eq 3 && $(gcc-minor-version) -ge 4 ]] || \
+ [[ $(gcc-major-version) -gt 3 ]]
then
- epatch ${FILESDIR}/mmv-gcc34.patch
+ epatch ${FILESDIR}/${PN}-gcc34.patch
fi
-
}
src_compile() {
mmv_CFLAGS=" -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
-
emake CC="$(tc-getCC)" CFLAGS="${mmv_CFLAGS} ${CFLAGS} " LDFLAGS=" -s " || die
}
src_install() {
-
dobin mmv
dosym /usr/bin/mmv /usr/bin/mcp
dosym /usr/bin/mmv /usr/bin/mln