diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-12-11 15:45:42 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-12-11 15:45:42 +0000 |
commit | d2dca4a40cee95edd2716c57fdce7cbca73e340d (patch) | |
tree | cdb0c8f17ff58a4453044626a49319df81d32250 /sys-libs/libosinfo | |
parent | use udev.eclass to handle rules installation (a cleaner method than the previ... (diff) | |
download | gentoo-2-d2dca4a40cee95edd2716c57fdce7cbca73e340d.tar.gz gentoo-2-d2dca4a40cee95edd2716c57fdce7cbca73e340d.tar.bz2 gentoo-2-d2dca4a40cee95edd2716c57fdce7cbca73e340d.zip |
Use udev.eclass for installing udev rules into correct path.
(Portage version: 2.2.0_alpha147/cvs/Linux x86_64, signed Manifest commit with key 4868F14D)
Diffstat (limited to 'sys-libs/libosinfo')
-rw-r--r-- | sys-libs/libosinfo/ChangeLog | 6 | ||||
-rw-r--r-- | sys-libs/libosinfo/libosinfo-0.2.0.ebuild | 9 | ||||
-rw-r--r-- | sys-libs/libosinfo/libosinfo-0.2.1.ebuild | 9 |
3 files changed, 11 insertions, 13 deletions
diff --git a/sys-libs/libosinfo/ChangeLog b/sys-libs/libosinfo/ChangeLog index bb7e1572b2f6..4ca22212fb1f 100644 --- a/sys-libs/libosinfo/ChangeLog +++ b/sys-libs/libosinfo/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-libs/libosinfo # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libosinfo/ChangeLog,v 1.13 2012/10/27 12:19:56 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libosinfo/ChangeLog,v 1.14 2012/12/11 15:45:42 ssuominen Exp $ + + 11 Dec 2012; Samuli Suominen <ssuominen@gentoo.org> libosinfo-0.2.0.ebuild, + libosinfo-0.2.1.ebuild: + Use udev.eclass for installing udev rules into correct path. *libosinfo-0.2.1 (27 Oct 2012) diff --git a/sys-libs/libosinfo/libosinfo-0.2.0.ebuild b/sys-libs/libosinfo/libosinfo-0.2.0.ebuild index 0aaac7dc771a..4035d4733edd 100644 --- a/sys-libs/libosinfo/libosinfo-0.2.0.ebuild +++ b/sys-libs/libosinfo/libosinfo-0.2.0.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libosinfo/libosinfo-0.2.0.ebuild,v 1.2 2012/09/16 00:58:19 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libosinfo/libosinfo-0.2.0.ebuild,v 1.3 2012/12/11 15:45:42 ssuominen Exp $ EAPI=4 VALA_MIN_API_VERSION="0.16" VALA_USE_DEPEND="vapigen" -inherit eutils toolchain-funcs vala +inherit eutils toolchain-funcs vala udev DESCRIPTION="GObject library for managing information about real and virtual OSes" HOMEPAGE="http://fedorahosted.org/libosinfo/" @@ -38,9 +38,6 @@ src_prepare() { } src_configure() { - local udevdir=/lib/udev - has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)" - # --enable-udev is only for rules.d file install econf \ --disable-static \ @@ -51,7 +48,7 @@ src_configure() { $(use_enable vala) \ --enable-udev \ --disable-coverage \ - --with-udev-rulesdir="${udevdir}"/rules.d \ + --with-udev-rulesdir="$(udev_get_udevdir)"/rules.d \ --with-html-dir=/usr/share/doc/${PF}/html } diff --git a/sys-libs/libosinfo/libosinfo-0.2.1.ebuild b/sys-libs/libosinfo/libosinfo-0.2.1.ebuild index 47400d0edb6d..7bd1c104f602 100644 --- a/sys-libs/libosinfo/libosinfo-0.2.1.ebuild +++ b/sys-libs/libosinfo/libosinfo-0.2.1.ebuild @@ -1,12 +1,12 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libosinfo/libosinfo-0.2.1.ebuild,v 1.1 2012/10/27 12:19:56 pacho Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libosinfo/libosinfo-0.2.1.ebuild,v 1.2 2012/12/11 15:45:42 ssuominen Exp $ EAPI=4 VALA_MIN_API_VERSION="0.16" VALA_USE_DEPEND="vapigen" -inherit eutils toolchain-funcs vala +inherit eutils toolchain-funcs vala udev DESCRIPTION="GObject library for managing information about real and virtual OSes" HOMEPAGE="http://fedorahosted.org/libosinfo/" @@ -36,9 +36,6 @@ src_prepare() { } src_configure() { - local udevdir=/lib/udev - has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)" - # --enable-udev is only for rules.d file install econf \ --disable-static \ @@ -48,7 +45,7 @@ src_configure() { $(use_enable vala) \ --enable-udev \ --disable-coverage \ - --with-udev-rulesdir="${udevdir}"/rules.d \ + --with-udev-rulesdir="$(udev_get_udevdir)"/rules.d \ --with-html-dir=/usr/share/doc/${PF}/html } |