summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-10-25 20:55:24 +0000
committerMike Frysinger <vapier@gentoo.org>2008-10-25 20:55:24 +0000
commit1a0d90ddc49f9ede42a76b244c3ce3846bdbebd9 (patch)
treef520a33ab10e42a154001711a22b411ecfc6c50d /app-cdr
parentKeyworded ~ppc. Closes bug #238010 (diff)
downloadgentoo-2-1a0d90ddc49f9ede42a76b244c3ce3846bdbebd9.tar.gz
gentoo-2-1a0d90ddc49f9ede42a76b244c3ce3846bdbebd9.tar.bz2
gentoo-2-1a0d90ddc49f9ede42a76b244c3ce3846bdbebd9.zip
Redo building so we respect user settings #243530.
(Portage version: 2.2_rc12/cvs/Linux 2.6.26.2 x86_64)
Diffstat (limited to 'app-cdr')
-rw-r--r--app-cdr/extract-xiso/ChangeLog5
-rw-r--r--app-cdr/extract-xiso/extract-xiso-2.5.ebuild17
2 files changed, 16 insertions, 6 deletions
diff --git a/app-cdr/extract-xiso/ChangeLog b/app-cdr/extract-xiso/ChangeLog
index 7f95d8e1786b..28e6f1d022a4 100644
--- a/app-cdr/extract-xiso/ChangeLog
+++ b/app-cdr/extract-xiso/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-cdr/extract-xiso
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/extract-xiso/ChangeLog,v 1.15 2008/01/25 19:56:46 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/extract-xiso/ChangeLog,v 1.16 2008/10/25 20:55:24 vapier Exp $
+
+ 25 Oct 2008; Mike Frysinger <vapier@gentoo.org> extract-xiso-2.5.ebuild:
+ Redo building so we respect user settings #243530.
25 Jan 2008; Fabian Groffen <grobian@gentoo.org> extract-xiso-2.5.ebuild:
Dropped ppc-macos keyword, see you in prefix
diff --git a/app-cdr/extract-xiso/extract-xiso-2.5.ebuild b/app-cdr/extract-xiso/extract-xiso-2.5.ebuild
index 074f9bb2a3cc..6ec2c30d6acb 100644
--- a/app-cdr/extract-xiso/extract-xiso-2.5.ebuild
+++ b/app-cdr/extract-xiso/extract-xiso-2.5.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-cdr/extract-xiso/extract-xiso-2.5.ebuild,v 1.3 2008/06/15 11:39:09 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-cdr/extract-xiso/extract-xiso-2.5.ebuild,v 1.4 2008/10/25 20:55:24 vapier Exp $
-inherit eutils
+inherit toolchain-funcs
MY_PV=${PV/_beta/b}
@@ -19,13 +19,20 @@ S=${WORKDIR}/${PN}
src_unpack() {
unpack ${A}
- sed -i -e "s:-O2:${CFLAGS}:g" "${S}"/Makefile || die "sed failed."
+ cd "${S}"
+ sed -i \
+ -e 's:__LINUX__:__linux__:' \
+ *.[ch] */*.[ch] || die
}
+doit() { echo "$@"; "$@"; }
+
src_compile() {
- emake || die "emake failed."
+ doit $(tc-getCC) ${CFLAGS} ${CPPFLAGS} ${LDFLAGS} \
+ extract-xiso.c libftp-*/*.c -o extract-xiso || die
}
src_install() {
- dobin extract-xiso || die "dobin failed."
+ dobin extract-xiso || die
+ dodoc README.TXT
}