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
commitb3c74ed61616e78e3054aa570857d3b5bbcd31f4 (patch)
tree75af9a5aeb9407efc670fd559ffa3f27a27eb4d2 /app-misc
parentUse toolchain-funcs.eclass instead of gcc.eclass. (diff)
downloadhistorical-b3c74ed61616e78e3054aa570857d3b5bbcd31f4.tar.gz
historical-b3c74ed61616e78e3054aa570857d3b5bbcd31f4.tar.bz2
historical-b3c74ed61616e78e3054aa570857d3b5bbcd31f4.zip
Use toolchain-funcs.eclass instead of gcc.eclass.
Package-Manager: portage-2.0.51.21-r1
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/mmv/ChangeLog5
-rw-r--r--app-misc/mmv/Manifest16
-rw-r--r--app-misc/mmv/mmv-1.01b.ebuild15
3 files changed, 23 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..975b23ef4879 100644
--- a/app-misc/mmv/Manifest
+++ b/app-misc/mmv/Manifest
@@ -1,5 +1,15 @@
-MD5 2d478f2dae4a0eb9eb20df66e835befc ChangeLog 1052
-MD5 15376fd389676d645105887a69bb75df mmv-1.01b.ebuild 1434
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 9655dccb176941cdd9c539b26afb46f0 mmv-1.01b.ebuild 1463
+MD5 80e3a0f4c1a436e967c2fb62c18952df ChangeLog 1169
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
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.1 (GNU/Linux)
+
+iD8DBQFCiDZTEZCkKN40op4RAiKqAKCfxVNQJo6dHc4+c67AJIM97+DF6ACeLEPK
+PIp8LwK8ryI+V7rsZcP5zAA=
+=fbfh
+-----END PGP SIGNATURE-----
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