summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Ahlberg <aliz@gentoo.org>2004-02-22 20:50:14 +0000
committerDaniel Ahlberg <aliz@gentoo.org>2004-02-22 20:50:14 +0000
commit38493beed301e6fcf3ede5f1490710d29b01f57b (patch)
treeb1d34d271a5b2c7b8a7310b087b9d44280617307 /sys-apps/util-linux
parentRemove arm keywords (Manifest recommit) (diff)
downloadgentoo-2-38493beed301e6fcf3ede5f1490710d29b01f57b.tar.gz
gentoo-2-38493beed301e6fcf3ede5f1490710d29b01f57b.tar.bz2
gentoo-2-38493beed301e6fcf3ede5f1490710d29b01f57b.zip
Closing #35902.
Diffstat (limited to 'sys-apps/util-linux')
-rw-r--r--sys-apps/util-linux/ChangeLog5
-rw-r--r--sys-apps/util-linux/files/util-linux-2.12-amd64_rdev_installation.patch26
-rw-r--r--sys-apps/util-linux/util-linux-2.12-r5.ebuild5
3 files changed, 34 insertions, 2 deletions
diff --git a/sys-apps/util-linux/ChangeLog b/sys-apps/util-linux/ChangeLog
index a9cc3deafb2d..844e62a269d3 100644
--- a/sys-apps/util-linux/ChangeLog
+++ b/sys-apps/util-linux/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-apps/util-linux
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.68 2004/02/17 16:47:05 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/ChangeLog,v 1.69 2004/02/22 20:50:14 aliz Exp $
+
+ 22 Feb 2004; Daniel Ahlberg <aliz@gentoo.org> util-linux-2.12-r5.ebuild:
+ Add installation of rdev on amd64. Closing #35902.
*util-linux-2.12-r5 (17 Feb 2004)
diff --git a/sys-apps/util-linux/files/util-linux-2.12-amd64_rdev_installation.patch b/sys-apps/util-linux/files/util-linux-2.12-amd64_rdev_installation.patch
new file mode 100644
index 000000000000..213dacaa13d4
--- /dev/null
+++ b/sys-apps/util-linux/files/util-linux-2.12-amd64_rdev_installation.patch
@@ -0,0 +1,26 @@
+--- sys-utils/Makefile 2004-02-22 20:26:11.047106770 +0000
++++ sys-utils/Makefile 2004-02-22 20:42:58.036626756 +0000
+@@ -42,6 +42,11 @@
+ USRSBIN:=$(USRSBIN) rdev
+ endif
+
++ifeq "$(ARCH)" "x86_64"
++MAN8:=$(MAN8) rdev.8 ramsize.8 rootflags.8 vidmode.8
++USRSBIN:=$(USRSBIN) rdev
++endif
++
+ # Where to put datebase files?
+
+ USRINFO= ipc.info
+@@ -91,6 +96,11 @@
+ (cd $(USRSBINDIR); ln -sf rdev vidmode)
+ (cd $(USRSBINDIR); ln -sf rdev rootflags)
+ endif
++ifeq "$(ARCH)" "x86_64"
++ (cd $(USRSBINDIR); ln -sf rdev ramsize)
++ (cd $(USRSBINDIR); ln -sf rdev vidmode)
++ (cd $(USRSBINDIR); ln -sf rdev rootflags)
++endif
+ $(INSTALLDIR) $(MAN1DIR) $(MAN8DIR) $(INFODIR)
+ $(INSTALLMAN) $(MAN1) $(MAN1DIR)
+ $(INSTALLMAN) $(MAN8) $(MAN8DIR)
diff --git a/sys-apps/util-linux/util-linux-2.12-r5.ebuild b/sys-apps/util-linux/util-linux-2.12-r5.ebuild
index 5465423728bd..2a09f7a7a034 100644
--- a/sys-apps/util-linux/util-linux-2.12-r5.ebuild
+++ b/sys-apps/util-linux/util-linux-2.12-r5.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/util-linux/util-linux-2.12-r5.ebuild,v 1.1 2004/02/17 16:47:05 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/util-linux/util-linux-2.12-r5.ebuild,v 1.2 2004/02/22 20:50:14 aliz Exp $
IUSE="crypt nls static pam selinux"
@@ -111,6 +111,9 @@ src_unpack() {
# /bin/kill is provided by procps ONLY
epatch ${FILESDIR}/${PN}-no-kill.patch
+
+ # Install rdev on amd64 platform
+ epatch ${FILESDIR}/${P}-amd64_rdev_installation.patch
}
src_compile() {