diff options
author | Ian Stakenvicius <axs@gentoo.org> | 2012-12-11 17:54:23 +0000 |
---|---|---|
committer | Ian Stakenvicius <axs@gentoo.org> | 2012-12-11 17:54:23 +0000 |
commit | 0dbc65d1718718c3fc0f7f0498d95b9277c37c8a (patch) | |
tree | 5453f5c89c3e89c495977d4dba271971c909af2d /sci-geosciences/gpsd/gpsd-9999.ebuild | |
parent | Add ~ppc64, wrt bug #390671 (diff) | |
download | gentoo-2-0dbc65d1718718c3fc0f7f0498d95b9277c37c8a.tar.gz gentoo-2-0dbc65d1718718c3fc0f7f0498d95b9277c37c8a.tar.bz2 gentoo-2-0dbc65d1718718c3fc0f7f0498d95b9277c37c8a.zip |
virtualize udev by using udev.eclass to determine udevdir
(Portage version: 2.1.11.33/cvs/Linux x86_64, signed Manifest commit with key 2B6559ED)
Diffstat (limited to 'sci-geosciences/gpsd/gpsd-9999.ebuild')
-rw-r--r-- | sci-geosciences/gpsd/gpsd-9999.ebuild | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/sci-geosciences/gpsd/gpsd-9999.ebuild b/sci-geosciences/gpsd/gpsd-9999.ebuild index cd583e58d71b..598e60d6d70e 100644 --- a/sci-geosciences/gpsd/gpsd-9999.ebuild +++ b/sci-geosciences/gpsd/gpsd-9999.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-9999.ebuild,v 1.6 2012/08/12 08:18:33 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-geosciences/gpsd/gpsd-9999.ebuild,v 1.7 2012/12/11 17:54:23 axs Exp $ EAPI="4" @@ -9,7 +9,7 @@ RESTRICT_PYTHON_ABIS="3.*" SUPPORT_PYTHON_ABIS="1" SCONS_MIN_VERSION="1.2.1" -inherit eutils user multilib distutils scons-utils toolchain-funcs +inherit eutils udev user multilib distutils scons-utils toolchain-funcs if [[ ${PV} == "9999" ]] ; then EGIT_REPO_URI="git://git.savannah.nongnu.org/gpsd.git" @@ -91,9 +91,7 @@ src_prepare() { distutils_src_prepare fi - local udevdir=/lib/udev - has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)" - sed -i -e "s:/lib/udev:${udevdir}:" gpsd.rules SConstruct || die + sed -i -e "s:/lib/udev:$(udev_get_udevdir):" gpsd.rules SConstruct || die } src_configure() { |