summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNaohiro Aota <naota@gentoo.org>2011-11-08 11:45:43 +0000
committerNaohiro Aota <naota@gentoo.org>2011-11-08 11:45:43 +0000
commitb3d9f49bef979517cb9deb14904d3292eaea61e3 (patch)
tree826ead3c73acdddedd9a8009cd913693a1b6a112 /app-misc/mc
parentDrop deprecated make options and its USE flags (diff)
downloadgentoo-2-b3d9f49bef979517cb9deb14904d3292eaea61e3.tar.gz
gentoo-2-b3d9f49bef979517cb9deb14904d3292eaea61e3.tar.bz2
gentoo-2-b3d9f49bef979517cb9deb14904d3292eaea61e3.zip
Install cons.saver only on Linux. Bug #376943
(Portage version: 2.2.0_alpha72/cvs/FreeBSD i386)
Diffstat (limited to 'app-misc/mc')
-rw-r--r--app-misc/mc/ChangeLog5
-rw-r--r--app-misc/mc/mc-4.7.5.2.ebuild4
2 files changed, 6 insertions, 3 deletions
diff --git a/app-misc/mc/ChangeLog b/app-misc/mc/ChangeLog
index 81cd77cc85c8..5d61dec2884b 100644
--- a/app-misc/mc/ChangeLog
+++ b/app-misc/mc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-misc/mc
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.228 2011/11/01 08:37:27 wired Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.229 2011/11/08 11:45:43 naota Exp $
+
+ 08 Nov 2011; Naohiro Aota <naota@gentoo.org> mc-4.7.5.2.ebuild:
+ Install cons.saver only on Linux. Bug #376943
*mc-4.8.0-r1 (01 Nov 2011)
diff --git a/app-misc/mc/mc-4.7.5.2.ebuild b/app-misc/mc/mc-4.7.5.2.ebuild
index ca8934ef40b6..b7926c4cdddd 100644
--- a/app-misc/mc/mc-4.7.5.2.ebuild
+++ b/app-misc/mc/mc-4.7.5.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.7.5.2.ebuild,v 1.7 2011/08/07 17:01:28 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.7.5.2.ebuild,v 1.8 2011/11/08 11:45:43 naota Exp $
EAPI=4
@@ -59,7 +59,7 @@ src_install() {
dodoc AUTHORS README
# fix bug #334383
- if [[ ${EUID} == 0 ]] ; then
+ if use kernel_linux && [[ ${EUID} == 0 ]] ; then
fowners root:tty /usr/libexec/mc/cons.saver ||
die "setting cons.saver's owner failed"
fperms g+s /usr/libexec/mc/cons.saver ||