diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-11-27 06:28:12 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-11-27 06:28:12 +0000 |
commit | 799c6487cf25d0551d4c88355aa7cb9fcf87e6fc (patch) | |
tree | 341049bd054e98ac64f4256d26335a10aa871644 /sys-block/fwdl | |
parent | Version bump (diff) | |
download | gentoo-2-799c6487cf25d0551d4c88355aa7cb9fcf87e6fc.tar.gz gentoo-2-799c6487cf25d0551d4c88355aa7cb9fcf87e6fc.tar.bz2 gentoo-2-799c6487cf25d0551d4c88355aa7cb9fcf87e6fc.zip |
Update to EAPI 4, add debug use flag, and respect LDFLAGS (bug #337876).
(Portage version: 2.2.0_alpha77/cvs/Linux x86_64)
Diffstat (limited to 'sys-block/fwdl')
-rw-r--r-- | sys-block/fwdl/ChangeLog | 7 | ||||
-rw-r--r-- | sys-block/fwdl/fwdl-1.2.3.ebuild | 17 |
2 files changed, 17 insertions, 7 deletions
diff --git a/sys-block/fwdl/ChangeLog b/sys-block/fwdl/ChangeLog index 40e884d46899..17479b961b98 100644 --- a/sys-block/fwdl/ChangeLog +++ b/sys-block/fwdl/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-block/fwdl -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/fwdl/ChangeLog,v 1.2 2008/01/14 02:26:20 robbat2 Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-block/fwdl/ChangeLog,v 1.3 2011/11/27 06:28:12 radhermit Exp $ + + 27 Nov 2011; Tim Harder <radhermit@gentoo.org> fwdl-1.2.3.ebuild: + Update to EAPI 4, add debug use flag, and respect LDFLAGS (bug #337876). 14 Jan 2008; Robin H. Johnson <robbat2@gentoo.org> metadata.xml: update metadata. diff --git a/sys-block/fwdl/fwdl-1.2.3.ebuild b/sys-block/fwdl/fwdl-1.2.3.ebuild index 4d5c241a7af6..fccb84340df2 100644 --- a/sys-block/fwdl/fwdl-1.2.3.ebuild +++ b/sys-block/fwdl/fwdl-1.2.3.ebuild @@ -1,6 +1,10 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-block/fwdl/fwdl-1.2.3.ebuild,v 1.1 2007/02/06 07:28:39 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-block/fwdl/fwdl-1.2.3.ebuild,v 1.2 2011/11/27 06:28:12 radhermit Exp $ + +EAPI=4 + +inherit toolchain-funcs DESCRIPTION="Seagate Fibre-Channel disk firmware upgrade tool" HOMEPAGE="http://www.tc.umn.edu/~erick205/Projects/" @@ -8,11 +12,14 @@ SRC_URI="http://www.tc.umn.edu/~erick205/Projects/${PN}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64 ~ppc" -IUSE="" -DEPEND="" +IUSE="debug" + +src_prepare() { + use debug || { sed -i -e "s/^EXTRA_DEFINES/#\0/" Makefile || die ; } +} src_compile() { - emake OPTIMIZER="${CXXFLAGS}" + emake COMPILE_LINUX="$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS}" } src_install() { |