diff options
author | Michael Januszewski <spock@gentoo.org> | 2004-02-01 20:35:54 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2004-02-01 20:35:54 +0000 |
commit | 2f581b1190a9c47c90254b4137a3ef4eed91f0e1 (patch) | |
tree | cd7199b976381e87840f63e86864ca74b0dc740c /sys-apps/memtest86+ | |
parent | ver bump (diff) | |
download | gentoo-2-2f581b1190a9c47c90254b4137a3ef4eed91f0e1.tar.gz gentoo-2-2f581b1190a9c47c90254b4137a3ef4eed91f0e1.tar.bz2 gentoo-2-2f581b1190a9c47c90254b4137a3ef4eed91f0e1.zip |
Added support for the local 'serial' USE flag.
Diffstat (limited to 'sys-apps/memtest86+')
-rw-r--r-- | sys-apps/memtest86+/ChangeLog | 5 | ||||
-rw-r--r-- | sys-apps/memtest86+/memtest86+-1.0.ebuild | 10 |
2 files changed, 12 insertions, 3 deletions
diff --git a/sys-apps/memtest86+/ChangeLog b/sys-apps/memtest86+/ChangeLog index 1582c85fb7bd..7c19ab6d2b19 100644 --- a/sys-apps/memtest86+/ChangeLog +++ b/sys-apps/memtest86+/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-apps/memtest86+ # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/memtest86+/ChangeLog,v 1.1 2004/02/01 16:34:59 spock Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/memtest86+/ChangeLog,v 1.2 2004/02/01 20:35:54 spock Exp $ + + 01 Feb 2004; Michal Januszewski <spock@gentoo.org> memtest86+-1.0.ebuild: + Added support for the local 'serial' USE flag. *memtest86+-1.0 (01 Feb 2004) diff --git a/sys-apps/memtest86+/memtest86+-1.0.ebuild b/sys-apps/memtest86+/memtest86+-1.0.ebuild index 04827fa70619..193d386671db 100644 --- a/sys-apps/memtest86+/memtest86+-1.0.ebuild +++ b/sys-apps/memtest86+/memtest86+-1.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/memtest86+/memtest86+-1.0.ebuild,v 1.1 2004/02/01 16:34:59 spock Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/memtest86+/memtest86+-1.0.ebuild,v 1.2 2004/02/01 20:35:54 spock Exp $ DESCRIPTION="Memory tester based on memtest86" HOMEPAGE="http://www.memtest.org/" @@ -8,7 +8,7 @@ SRC_URI="http://www.memtest.org/download/memtest_source_v1.00.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" -IUSE="" +IUSE="serial" DEPEND="virtual/glibc" S=${WORKDIR} @@ -16,7 +16,13 @@ S=${WORKDIR} src_unpack() { unpack ${A} cd ${S} + + # a little fix to make gcc-3.3.x happy sed -e '/DISCARD/d' -i memtest_shared.lds + + if [ `use serial` ] ; then + sed -e 's/#define SERIAL_CONSOLE_DEFAULT 0/#define SERIAL_CONSOLE_DEFAULT 1/' -i config.h + fi } src_compile() { |