diff options
author | Steve Arnold <nerdboy@gentoo.org> | 2009-08-30 21:44:23 +0000 |
---|---|---|
committer | Steve Arnold <nerdboy@gentoo.org> | 2009-08-30 21:44:23 +0000 |
commit | 207dfa11f9150dc9e63a8fe2f6b7fbef9560eae2 (patch) | |
tree | 02db2471d30b1b41bb6ec2f8e5c9c15e7937878b /dev-util/duma/duma-2.5.13.ebuild | |
parent | Reenable test_math.py and test_pow.py on alpha (bug #282786). (diff) | |
download | historical-207dfa11f9150dc9e63a8fe2f6b7fbef9560eae2.tar.gz historical-207dfa11f9150dc9e63a8fe2f6b7fbef9560eae2.tar.bz2 historical-207dfa11f9150dc9e63a8fe2f6b7fbef9560eae2.zip |
Back-ported several build and QA fixes from 2.5.15 (closes bug 279118).
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'dev-util/duma/duma-2.5.13.ebuild')
-rw-r--r-- | dev-util/duma/duma-2.5.13.ebuild | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/dev-util/duma/duma-2.5.13.ebuild b/dev-util/duma/duma-2.5.13.ebuild index d42a23c59f9f..96d3b1b2988d 100644 --- a/dev-util/duma/duma-2.5.13.ebuild +++ b/dev-util/duma/duma-2.5.13.ebuild @@ -1,11 +1,10 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-util/duma/duma-2.5.13.ebuild,v 1.5 2009/04/01 00:47:27 nerdboy Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-util/duma/duma-2.5.13.ebuild,v 1.6 2009/08/30 21:44:23 nerdboy Exp $ -inherit eutils toolchain-funcs versionator +inherit eutils flag-o-matic multilib toolchain-funcs versionator MY_P="${PN}_$(replace_all_version_separators '_')" -S="${WORKDIR}/${MY_P}" DESCRIPTION="DUMA (Detect Unintended Memory Access) is a memory debugging library." HOMEPAGE="http://duma.sourceforge.net/" @@ -21,6 +20,8 @@ DEPEND="virtual/libc" RDEPEND="${DEPEND} app-shells/bash" +S="${WORKDIR}/${MY_P}" + pkg_setup() { #DUMA_OPTIONS="-DDUMA_LIB_NO_LEAKDETECTION" DUMA_OPTIONS="-DDUMA_USE_FRAMENO" @@ -44,11 +45,14 @@ src_unpack(){ } src_compile(){ + replace-flags O? O0 + append-flags -Wall -Wextra -U_FORTIFY_SOURCE + tc-export AR CC CXX LD RANLIB + use amd64 && export DUMA_ALIGNMENT=16 - # append-flags doesn't work here (stupid static makefile) and neither - # does distcc :( - make CFLAGS="${DUMA_OPTIONS} ${CFLAGS}" CC=$(tc-getCC) \ - || die "make failed" + + make CPPFLAGS="${DUMA_OPTIONS}" reconfig || die "make reconfig failed" + emake CFLAGS="${CFLAGS}" CC=$(tc-getCC) || die "make failed" } src_test() { |