diff options
author | Mike Frysinger <vapier@gentoo.org> | 2013-04-15 21:24:53 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2013-04-15 21:24:53 +0000 |
commit | db0ef56897ecd61328d1565920d0cd4811793d77 (patch) | |
tree | a776a32bf6a923b270398a1833eac235f28183ed /dev-embedded/dc-tool-ip | |
parent | Pull in sys-libs/zlib with USE="static-libs" enabled for USE="png" also when ... (diff) | |
download | gentoo-2-db0ef56897ecd61328d1565920d0cd4811793d77.tar.gz gentoo-2-db0ef56897ecd61328d1565920d0cd4811793d77.tar.bz2 gentoo-2-db0ef56897ecd61328d1565920d0cd4811793d77.zip |
Fix build w/newer binutils bfd.h checks #465952 by Patrick Lauer.
(Portage version: 2.2.0_alpha170/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Diffstat (limited to 'dev-embedded/dc-tool-ip')
-rw-r--r-- | dev-embedded/dc-tool-ip/ChangeLog | 7 | ||||
-rw-r--r-- | dev-embedded/dc-tool-ip/dc-tool-ip-1.0.4.ebuild | 25 |
2 files changed, 16 insertions, 16 deletions
diff --git a/dev-embedded/dc-tool-ip/ChangeLog b/dev-embedded/dc-tool-ip/ChangeLog index f3528421a144..cfdf1a5b5870 100644 --- a/dev-embedded/dc-tool-ip/ChangeLog +++ b/dev-embedded/dc-tool-ip/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-embedded/dc-tool-ip -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/dc-tool-ip/ChangeLog,v 1.7 2010/09/17 07:02:34 vapier Exp $ +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/dc-tool-ip/ChangeLog,v 1.8 2013/04/15 21:24:53 vapier Exp $ + + 15 Apr 2013; Mike Frysinger <vapier@gentoo.org> dc-tool-ip-1.0.4.ebuild: + Fix build w/newer binutils bfd.h checks #465952 by Patrick Lauer. 17 Sep 2010; Mike Frysinger <vapier@gentoo.org> dc-tool-ip-1.0.4.ebuild, +files/dc-tool-ip-1.0.4-headers.patch: diff --git a/dev-embedded/dc-tool-ip/dc-tool-ip-1.0.4.ebuild b/dev-embedded/dc-tool-ip/dc-tool-ip-1.0.4.ebuild index c585e35a882e..9797e67f100e 100644 --- a/dev-embedded/dc-tool-ip/dc-tool-ip-1.0.4.ebuild +++ b/dev-embedded/dc-tool-ip/dc-tool-ip-1.0.4.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-embedded/dc-tool-ip/dc-tool-ip-1.0.4.ebuild,v 1.4 2010/09/17 07:02:34 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-embedded/dc-tool-ip/dc-tool-ip-1.0.4.ebuild,v 1.5 2013/04/15 21:24:53 vapier Exp $ -inherit eutils toolchain-funcs +EAPI="4" + +inherit eutils flag-o-matic toolchain-funcs DESCRIPTION="ethernet program loader for the Dreamcast" HOMEPAGE="http://cadcdev.sourceforge.net/" @@ -15,11 +17,10 @@ IUSE="doc" S=${WORKDIR}/dcload-ip-${PV} -src_unpack() { - unpack ${A} - cd "${S}" +src_prepare() { epatch "${FILESDIR}"/${PV}-bfd-update.patch epatch "${FILESDIR}"/${P}-headers.patch + append-cppflags -DPACKAGE -DPACKAGE_VERSION #465952 sed -i \ -e "/^HOSTCC/s:gcc:$(tc-getCC):" \ -e "/^HOSTCFLAGS/s:-O2:${CFLAGS} ${CPPFLAGS}:" \ @@ -29,18 +30,14 @@ src_unpack() { } src_compile() { - emake -C host-src/tool || die + emake -C host-src/tool } src_install() { - dobin host-src/tool/dc-tool || die "tool" + dobin host-src/tool/dc-tool dodoc README NETWORK CHANGES - - docinto make-cd - dodoc make-cd/* - + dodoc -r make-cd if use doc ; then - docinto example-src - dodoc example-src/* + dodoc -r example-src fi } |