diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-21 15:08:54 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2009-08-21 15:08:54 +0000 |
commit | 47e50ff41910868e855e863f6dd7dc292cfb0325 (patch) | |
tree | 45264a8545ef0dd88cae56fe7a7c441fc5735a1a /app-misc | |
parent | Version bump <http://my.opera.com/desktopteam/blog/2009/08/21/another-unite-r... (diff) | |
download | gentoo-2-47e50ff41910868e855e863f6dd7dc292cfb0325.tar.gz gentoo-2-47e50ff41910868e855e863f6dd7dc292cfb0325.tar.bz2 gentoo-2-47e50ff41910868e855e863f6dd7dc292cfb0325.zip |
USE chdir: Change to latest working directory at exit.
(Portage version: 2.2_rc38/cvs/Linux x86_64)
Diffstat (limited to 'app-misc')
-rw-r--r-- | app-misc/mc/ChangeLog | 6 | ||||
-rw-r--r-- | app-misc/mc/files/mc-chdir.sh | 5 | ||||
-rw-r--r-- | app-misc/mc/mc-4.7.0_pre1.ebuild | 11 | ||||
-rw-r--r-- | app-misc/mc/metadata.xml | 3 |
4 files changed, 20 insertions, 5 deletions
diff --git a/app-misc/mc/ChangeLog b/app-misc/mc/ChangeLog index a88fff374281..375214464816 100644 --- a/app-misc/mc/ChangeLog +++ b/app-misc/mc/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for app-misc/mc # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.156 2009/08/17 14:06:00 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/ChangeLog,v 1.157 2009/08/21 15:08:54 ssuominen Exp $ + + 21 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> mc-4.7.0_pre1.ebuild, + +files/mc-chdir.sh, metadata.xml: + USE chdir: Change to latest working directory at exit. 17 Aug 2009; Samuli Suominen <ssuominen@gentoo.org> mc-4.7.0_pre1.ebuild: Libtool 2.x is required wrt #281736, thanks to George Sitov for reporting. diff --git a/app-misc/mc/files/mc-chdir.sh b/app-misc/mc/files/mc-chdir.sh new file mode 100644 index 000000000000..59080eba740e --- /dev/null +++ b/app-misc/mc/files/mc-chdir.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +if [ /usr/libexec/mc/mc.sh ]; then + . /usr/libexec/mc/mc.sh +fi diff --git a/app-misc/mc/mc-4.7.0_pre1.ebuild b/app-misc/mc/mc-4.7.0_pre1.ebuild index 6ec93590c21d..0049f9cb6fc1 100644 --- a/app-misc/mc/mc-4.7.0_pre1.ebuild +++ b/app-misc/mc/mc-4.7.0_pre1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.7.0_pre1.ebuild,v 1.8 2009/08/17 14:06:00 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-misc/mc/mc-4.7.0_pre1.ebuild,v 1.9 2009/08/21 15:08:54 ssuominen Exp $ EAPI=2 inherit autotools eutils @@ -14,7 +14,7 @@ SRC_URI="http://www.midnight-commander.org/downloads/${MY_P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~arm ~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" -IUSE="gpm nls samba +slang X" +IUSE="chdir gpm nls samba +slang X" RDEPEND=">=dev-libs/glib-2.6:2 gpm? ( sys-libs/gpm ) @@ -49,7 +49,7 @@ src_configure() { econf \ --disable-dependency-tracking \ --enable-vfs \ - --enable-vfs-undelfs \ + $(use_enable kernel_linux vfs-undelfs) \ --enable-charset \ $(use_with X x) \ $(use_with samba) \ @@ -63,4 +63,9 @@ src_configure() { src_install() { emake DESTDIR="${D}" install || die "emake install failed" dodoc AUTHORS NEWS README + + if use chdir; then + insinto /etc/profile.d + doins "${FILESDIR}"/mc-chdir.sh + fi } diff --git a/app-misc/mc/metadata.xml b/app-misc/mc/metadata.xml index 5057a625968c..3b8527483756 100644 --- a/app-misc/mc/metadata.xml +++ b/app-misc/mc/metadata.xml @@ -6,6 +6,7 @@ <email>ssuominen@gentoo.org</email> </maintainer> <use> - <flag name='7zip'>Add support for 7zip archives</flag> + <flag name="7zip">Add support for 7zip archives</flag> + <flag name="chdir">Change to latest working directory at exit</flag> </use> </pkgmetadata> |