summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2004-10-16 19:25:02 +0000
committerMike Frysinger <vapier@gentoo.org>2004-10-16 19:25:02 +0000
commit7069b514b11bac3af5ffd1766f745fcbd0bc2ceb (patch)
tree05f4481c717259dc9f75ab5ecd87dbf2d39ed9ca /sys-fs
parentversion bump. workaround for gentoo /etc/services being out of date (#66166) ... (diff)
downloadgentoo-2-7069b514b11bac3af5ffd1766f745fcbd0bc2ceb.tar.gz
gentoo-2-7069b514b11bac3af5ffd1766f745fcbd0bc2ceb.tar.bz2
gentoo-2-7069b514b11bac3af5ffd1766f745fcbd0bc2ceb.zip
Fix stupid dependency on libterm-compat (i.e. remove it).
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/amiga-fdisk/ChangeLog5
-rw-r--r--sys-fs/amiga-fdisk/amiga-fdisk-0.04.ebuild21
-rw-r--r--sys-fs/amiga-fdisk/files/digest-amiga-fdisk-0.041
3 files changed, 18 insertions, 9 deletions
diff --git a/sys-fs/amiga-fdisk/ChangeLog b/sys-fs/amiga-fdisk/ChangeLog
index c6d06618cafb..8a97d53640d1 100644
--- a/sys-fs/amiga-fdisk/ChangeLog
+++ b/sys-fs/amiga-fdisk/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-fs/amiga-fdisk
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/amiga-fdisk/ChangeLog,v 1.3 2004/09/05 08:22:26 swegener Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/amiga-fdisk/ChangeLog,v 1.4 2004/10/16 19:25:02 vapier Exp $
+
+ 16 Oct 2004; Mike Frysinger <vapier@gentoo.org> amiga-fdisk-0.04.ebuild:
+ Fix stupid dependency on libterm-compat (i.e. remove it).
05 Sep 2004; Sven Wegener <swegener@gentoo.org> :
Fixed ChangeLog header.
diff --git a/sys-fs/amiga-fdisk/amiga-fdisk-0.04.ebuild b/sys-fs/amiga-fdisk/amiga-fdisk-0.04.ebuild
index 488d982f1667..92ef7363d13b 100644
--- a/sys-fs/amiga-fdisk/amiga-fdisk-0.04.ebuild
+++ b/sys-fs/amiga-fdisk/amiga-fdisk-0.04.ebuild
@@ -1,10 +1,15 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/amiga-fdisk/amiga-fdisk-0.04.ebuild,v 1.2 2004/06/25 03:17:51 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/amiga-fdisk/amiga-fdisk-0.04.ebuild,v 1.3 2004/10/16 19:25:02 vapier Exp $
+inherit eutils
+
+DEB_VER=9
+DEB_PATCH=${PN}_${PV}-${DEB_VER}.diff
DESCRIPTION="Amiga disklabel partitioning utility"
HOMEPAGE="http://www.freiburg.linux.de/~stepan/projects/"
-SRC_URI="http://www.freiburg.linux.de/~stepan/bin/${P}.tar.gz"
+SRC_URI="http://www.freiburg.linux.de/~stepan/bin/${P}.tar.gz
+ mirror://debian/pool/main/a/${PN}/${DEB_PATCH}.gz"
LICENSE="LGPL-2"
SLOT="0"
@@ -12,16 +17,16 @@ KEYWORDS="ppc"
IUSE=""
DEPEND="sys-libs/readline
- sys-libs/libtermcap-compat"
+ sys-libs/ncurses"
src_unpack() {
unpack ${A}
cd ${S}
- sed -i -e "s/-lreadline/-lreadline -ltermcap/" Makefile
-}
-
-src_compile() {
- emake || die
+ epatch ${WORKDIR}/${DEB_PATCH}
+ sed -i \
+ -e 's:-lreadline:-lreadline -lncurses:' \
+ -e "s:-O2 -fomit-frame-pointer:${CFLAGS}:" \
+ Makefile || die "sed failed"
}
src_install() {
diff --git a/sys-fs/amiga-fdisk/files/digest-amiga-fdisk-0.04 b/sys-fs/amiga-fdisk/files/digest-amiga-fdisk-0.04
index 022631e8ba3c..7f77a0c526f7 100644
--- a/sys-fs/amiga-fdisk/files/digest-amiga-fdisk-0.04
+++ b/sys-fs/amiga-fdisk/files/digest-amiga-fdisk-0.04
@@ -1 +1,2 @@
MD5 3fc41e1d454c9af62420d40ddc760203 amiga-fdisk-0.04.tar.gz 26031
+MD5 5e183327471e685a2c0ad8123697a247 amiga-fdisk_0.04-9.diff.gz 6951