diff options
author | 2010-08-07 17:40:01 +0000 | |
---|---|---|
committer | 2010-08-07 17:40:01 +0000 | |
commit | 36a955de7b2a48768cb88f8b55674a16abacef42 (patch) | |
tree | d0d7348ab8f674ea1e04f2c907db8ba4cb7f3d1b /sys-apps/iproute2/iproute2-9999.ebuild | |
parent | alpha/ia64/sh/sparc stable wrt #320247 (diff) | |
download | gentoo-2-36a955de7b2a48768cb88f8b55674a16abacef42.tar.gz gentoo-2-36a955de7b2a48768cb88f8b55674a16abacef42.tar.bz2 gentoo-2-36a955de7b2a48768cb88f8b55674a16abacef42.zip |
Just symlink ip to /bin; this way it won't break if any software (wrongly) use the full path. Add missing flex dependency.
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'sys-apps/iproute2/iproute2-9999.ebuild')
-rw-r--r-- | sys-apps/iproute2/iproute2-9999.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-apps/iproute2/iproute2-9999.ebuild b/sys-apps/iproute2/iproute2-9999.ebuild index 49f2b14a51e7..cb430b3062c9 100644 --- a/sys-apps/iproute2/iproute2-9999.ebuild +++ b/sys-apps/iproute2/iproute2-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/iproute2-9999.ebuild,v 1.11 2010/08/04 19:23:55 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/iproute2/iproute2-9999.ebuild,v 1.12 2010/08/07 17:40:01 flameeyes Exp $ EAPI="2" @@ -35,6 +35,7 @@ RDEPEND="!net-misc/arpd atm? ( net-dialup/linux-atm )" DEPEND="${RDEPEND} elibc_glibc? ( >=sys-libs/glibc-2.7 ) + sys-devel/flex >=virtual/os-headers-2.6.27" src_prepare() { @@ -90,7 +91,7 @@ src_install() { prepalldocs dodir /bin - mv "${D}"/{sbin,bin}/ip || die #330115 + dosym ../sbin/ip /bin/ip || die #330115 dolib.a lib/libnetlink.a || die insinto /usr/include |