diff options
author | Tim Harder <radhermit@gentoo.org> | 2011-06-26 07:17:08 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2011-06-26 07:17:08 +0000 |
commit | 056bfb73319d09317446938ad3122815b58d1bff (patch) | |
tree | 0dbe3ea7f09579cbe67630202ed6a6c4ceb59138 /app-forensics | |
parent | Version bump. (diff) | |
download | gentoo-2-056bfb73319d09317446938ad3122815b58d1bff.tar.gz gentoo-2-056bfb73319d09317446938ad3122815b58d1bff.tar.bz2 gentoo-2-056bfb73319d09317446938ad3122815b58d1bff.zip |
Respect LDFLAGS (bug #337739), respect CC (bug #243594), don't test FEATURES (bug #278874), and remove unecessary deps.
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Diffstat (limited to 'app-forensics')
-rw-r--r-- | app-forensics/memdump/ChangeLog | 8 | ||||
-rw-r--r-- | app-forensics/memdump/memdump-1.0.1.ebuild | 22 |
2 files changed, 20 insertions, 10 deletions
diff --git a/app-forensics/memdump/ChangeLog b/app-forensics/memdump/ChangeLog index a2a0e592edc8..be059a6ce4ba 100644 --- a/app-forensics/memdump/ChangeLog +++ b/app-forensics/memdump/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-forensics/memdump -# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-forensics/memdump/ChangeLog,v 1.8 2009/09/13 22:35:31 patrick Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-forensics/memdump/ChangeLog,v 1.9 2011/06/26 07:17:08 radhermit Exp $ + + 26 Jun 2011; Tim Harder <radhermit@gentoo.org> memdump-1.0.1.ebuild: + Respect LDFLAGS (bug #337739), respect CC (bug #243594), don't test FEATURES + (bug #278874), and remove unecessary deps. 13 Sep 2009; Patrick Lauer <patrick@gentoo.org> memdump-1.0.ebuild, memdump-1.0.1.ebuild: diff --git a/app-forensics/memdump/memdump-1.0.1.ebuild b/app-forensics/memdump/memdump-1.0.1.ebuild index 72c5a8172151..4e61e4d207c6 100644 --- a/app-forensics/memdump/memdump-1.0.1.ebuild +++ b/app-forensics/memdump/memdump-1.0.1.ebuild @@ -1,6 +1,10 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-forensics/memdump/memdump-1.0.1.ebuild,v 1.3 2009/09/13 22:35:31 patrick Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-forensics/memdump/memdump-1.0.1.ebuild,v 1.4 2011/06/26 07:17:08 radhermit Exp $ + +EAPI=4 + +inherit toolchain-funcs DESCRIPTION="Simple memory dumper for UNIX-Like systems" HOMEPAGE="http://www.porcupine.org/forensics" @@ -8,20 +12,22 @@ SRC_URI="http://www.porcupine.org/forensics/${PN}-1.01.tar.gz" LICENSE="IBM" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" -DEPEND="sys-apps/sed - sys-apps/grep" +DEPEND="" RDEPEND="" IUSE="" S=${WORKDIR}/${PN}-1.01 +src_prepare() { + sed -i -e 's:$(CFLAGS):\0 $(LDFLAGS):' Makefile || die +} + src_compile() { - cd ${S}/memdump-1.01 - emake XFLAGS="${CFLAGS}" OPT= DEBUG= || die + emake CC="$(tc-getCC)" XFLAGS="${CFLAGS}" OPT= DEBUG= } src_test() { - if has userpriv ${FEATURES}; + if [[ ${EUID} -ne 0 ]]; then einfo "Cannot test with FEATURES=userpriv" elif [ -x /bin/wc ]; @@ -38,6 +44,6 @@ src_test() { src_install() { dosbin memdump - dodoc README LICENSE + dodoc README doman memdump.1 } |