summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/memtest86+/ChangeLog5
-rw-r--r--sys-apps/memtest86+/Manifest4
-rw-r--r--sys-apps/memtest86+/memtest86+-1.0.ebuild10
3 files changed, 14 insertions, 5 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+/Manifest b/sys-apps/memtest86+/Manifest
index 46e7f5b28d89..6eb2a84cb28f 100644
--- a/sys-apps/memtest86+/Manifest
+++ b/sys-apps/memtest86+/Manifest
@@ -1,4 +1,4 @@
-MD5 5cf4c9939fbd18bf3e44ae190deef9c0 memtest86+-1.0.ebuild 2060
-MD5 70c0e8fd474d05a6f976bb5644687dfb ChangeLog 431
+MD5 678451e8aba7342a9afb474ba41567ee memtest86+-1.0.ebuild 2232
+MD5 9d0f543e3a8d47024009e97174c53edd ChangeLog 557
MD5 d94d306da3804e41296e1bf04c7c9cae metadata.xml 255
MD5 0782c1c3a12f88f4b728016925d26bd3 files/digest-memtest86+-1.0 72
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() {