summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2011-08-14 19:59:14 +0000
committerFabian Groffen <grobian@gentoo.org>2011-08-14 19:59:14 +0000
commit12b8ae57d0d2b5273d4113ece57632d2edf713d9 (patch)
treeddf91721aef886e8c1bbc389ad1df365e5e9c365 /app-misc/mc
parentarm stable, bug #355085 (diff)
downloadgentoo-2-12b8ae57d0d2b5273d4113ece57632d2edf713d9.tar.gz
gentoo-2-12b8ae57d0d2b5273d4113ece57632d2edf713d9.tar.bz2
gentoo-2-12b8ae57d0d2b5273d4113ece57632d2edf713d9.zip
Allow linkage to succeed on Solaris, bug #378699 by Daniel Vergien
(Portage version: 2.2.01.19011-prefix/cvs/SunOS i386)
Diffstat (limited to 'app-misc/mc')
-rw-r--r--app-misc/mc/ChangeLog5
-rw-r--r--app-misc/mc/mc-4.7.5.3.ebuild5
2 files changed, 7 insertions, 3 deletions
diff --git a/app-misc/mc/ChangeLog b/app-misc/mc/ChangeLog
index 54dd4d4c3e20..2e701d97d999 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.223 2011/08/07 17:01:28 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.224 2011/08/14 19:59:14 grobian Exp $
+
+ 14 Aug 2011; Fabian Groffen <grobian@gentoo.org> mc-4.7.5.3.ebuild:
+ Allow linkage to succeed on Solaris, bug #378699 by Daniel Vergien
07 Aug 2011; Raúl Porcel <armin76@gentoo.org> mc-4.7.5.2.ebuild:
alpha/ia64/s390/sh/sparc stable wrt #373225
diff --git a/app-misc/mc/mc-4.7.5.3.ebuild b/app-misc/mc/mc-4.7.5.3.ebuild
index ce1b3e1cb234..d70d42c918b1 100644
--- a/app-misc/mc/mc-4.7.5.3.ebuild
+++ b/app-misc/mc/mc-4.7.5.3.ebuild
@@ -1,10 +1,10 @@
# 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.3.ebuild,v 1.1 2011/07/30 17:01:51 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.7.5.3.ebuild,v 1.2 2011/08/14 19:59:14 grobian Exp $
EAPI=4
-inherit base
+inherit base flag-o-matic
MY_P=${P/_/-}
@@ -40,6 +40,7 @@ S=${WORKDIR}/${MY_P}
src_configure() {
local myscreen=ncurses
use slang && myscreen=slang
+ [[ ${CHOST} == *-solaris* ]] && append-ldflags "-lnsl -lsocket"
econf \
--disable-dependency-tracking \