diff options
author | Raúl Porcel <armin76@gentoo.org> | 2008-03-26 19:01:31 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2008-03-26 19:01:31 +0000 |
commit | 45c1f2a87fe4c92023ac4b7e2c5f2bab85b8493f (patch) | |
tree | b2788c251606f2215b581b028d851a6cde90e4af /app-misc/mmv | |
parent | Fix metadata, remove old (diff) | |
download | gentoo-2-45c1f2a87fe4c92023ac4b7e2c5f2bab85b8493f.tar.gz gentoo-2-45c1f2a87fe4c92023ac4b7e2c5f2bab85b8493f.tar.bz2 gentoo-2-45c1f2a87fe4c92023ac4b7e2c5f2bab85b8493f.zip |
old
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-misc/mmv')
-rw-r--r-- | app-misc/mmv/files/mmv-gcc34.patch | 11 | ||||
-rw-r--r-- | app-misc/mmv/mmv-1.01b.ebuild | 53 |
2 files changed, 0 insertions, 64 deletions
diff --git a/app-misc/mmv/files/mmv-gcc34.patch b/app-misc/mmv/files/mmv-gcc34.patch deleted file mode 100644 index 0d3598ea992c..000000000000 --- a/app-misc/mmv/files/mmv-gcc34.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- mmv-1.01b.orig/mmv.c 2004-12-18 11:01:42.988868840 +0100 -+++ mmv-1.01b.orig/mmv.c.new 2004-12-18 11:02:27.526098152 +0100 -@@ -129,7 +129,6 @@ - - extern char *getenv(); - extern long lseek(); --extern char *malloc(); - - #ifdef HAS_DIRENT - #include <dirent.h> - diff --git a/app-misc/mmv/mmv-1.01b.ebuild b/app-misc/mmv/mmv-1.01b.ebuild deleted file mode 100644 index 7b3690caee2a..000000000000 --- a/app-misc/mmv/mmv-1.01b.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2007 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.17 2007/12/10 21:29:56 pva Exp $ - -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" - -PATCH_DEB_VER="12" - -SRC_URI="mirror://debian/pool/main/m/mmv/${P/-/_}.orig.tar.gz - mirror://debian/pool/main/m/mmv/${P/-/_}-${PATCH_DEB_VER}.diff.gz" - -LICENSE="freedist" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="" - -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) -eq 3 && $(gcc-minor-version) -ge 4 ]] || \ - [[ $(gcc-major-version) -gt 3 ]] - then - 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 - dosym /usr/bin/mmv /usr/bin/mad - - doman mmv.1 - dosym mmv.1.gz /usr/share/man/man1/mcp.1.gz - dosym mmv.1.gz /usr/share/man/man1/mln.1.gz - dosym mmv.1.gz /usr/share/man/man1/mad.1.gz - - newdoc ANNOUNCE README - cd debian - dodoc changelog control copyright -} |