summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2012-12-11 16:29:23 +0000
committerIan Stakenvicius <axs@gentoo.org>2012-12-11 16:29:23 +0000
commit3570031b6288998aaa544ca61e4736f50a99ecf3 (patch)
tree76eff52f17c996355c34c0603b867a154ff71305 /media-libs/libmtp
parentUse virtual/udev instead of sys-fs/udev. (diff)
downloadgentoo-2-3570031b6288998aaa544ca61e4736f50a99ecf3.tar.gz
gentoo-2-3570031b6288998aaa544ca61e4736f50a99ecf3.tar.bz2
gentoo-2-3570031b6288998aaa544ca61e4736f50a99ecf3.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 'media-libs/libmtp')
-rw-r--r--media-libs/libmtp/ChangeLog6
-rw-r--r--media-libs/libmtp/libmtp-1.1.4.ebuild9
-rw-r--r--media-libs/libmtp/libmtp-1.1.5.ebuild9
-rw-r--r--media-libs/libmtp/libmtp-9999.ebuild9
4 files changed, 14 insertions, 19 deletions
diff --git a/media-libs/libmtp/ChangeLog b/media-libs/libmtp/ChangeLog
index 1b07518ca624..d4a684b6de2c 100644
--- a/media-libs/libmtp/ChangeLog
+++ b/media-libs/libmtp/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/libmtp
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/ChangeLog,v 1.122 2012/11/20 20:06:28 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/ChangeLog,v 1.123 2012/12/11 16:29:23 axs Exp $
+
+ 11 Dec 2012; Ian Stakenvicius <axs@gentoo.org> libmtp-1.1.4.ebuild,
+ libmtp-1.1.5.ebuild, libmtp-9999.ebuild:
+ virtualize udev by using udev.eclass to determine udevdir
20 Nov 2012; Agostino Sarubbo <ago@gentoo.org> libmtp-1.1.5.ebuild:
Stable for x86, wrt bug #441374
diff --git a/media-libs/libmtp/libmtp-1.1.4.ebuild b/media-libs/libmtp/libmtp-1.1.4.ebuild
index 977659bb419c..95aaacb85080 100644
--- a/media-libs/libmtp/libmtp-1.1.4.ebuild
+++ b/media-libs/libmtp/libmtp-1.1.4.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-1.1.4.ebuild,v 1.5 2012/09/20 11:35:30 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-1.1.4.ebuild,v 1.6 2012/12/11 16:29:23 axs Exp $
EAPI=4
-inherit autotools eutils user toolchain-funcs
+inherit autotools eutils udev user toolchain-funcs
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="git://${PN}.git.sourceforge.net/gitroot/${PN}/${PN}"
@@ -41,14 +41,11 @@ src_prepare() {
}
src_configure() {
- local udevdir=/lib/udev
- has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
-
econf \
$(use_enable static-libs static) \
$(use_enable doc doxygen) \
$(use_enable crypt mtpz) \
- --with-udev="${udevdir}" \
+ --with-udev="$(udev_get_udevdir)" \
--with-udev-group=plugdev \
--with-udev-mode=0660
}
diff --git a/media-libs/libmtp/libmtp-1.1.5.ebuild b/media-libs/libmtp/libmtp-1.1.5.ebuild
index 0c973a112191..c3c9ad6a8716 100644
--- a/media-libs/libmtp/libmtp-1.1.5.ebuild
+++ b/media-libs/libmtp/libmtp-1.1.5.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-1.1.5.ebuild,v 1.6 2012/11/20 20:06:28 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-1.1.5.ebuild,v 1.7 2012/12/11 16:29:23 axs Exp $
EAPI=4
-inherit autotools eutils user toolchain-funcs
+inherit autotools eutils udev user toolchain-funcs
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="git://${PN}.git.sourceforge.net/gitroot/${PN}/${PN}"
@@ -41,14 +41,11 @@ src_prepare() {
}
src_configure() {
- local udevdir=/lib/udev
- has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
-
econf \
$(use_enable static-libs static) \
$(use_enable doc doxygen) \
$(use_enable crypt mtpz) \
- --with-udev="${udevdir}" \
+ --with-udev="$(udev_get_udevdir)" \
--with-udev-group=plugdev \
--with-udev-mode=0660
}
diff --git a/media-libs/libmtp/libmtp-9999.ebuild b/media-libs/libmtp/libmtp-9999.ebuild
index 45a3cd02b413..488a6201531a 100644
--- a/media-libs/libmtp/libmtp-9999.ebuild
+++ b/media-libs/libmtp/libmtp-9999.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-9999.ebuild,v 1.5 2012/08/23 10:56:22 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-9999.ebuild,v 1.6 2012/12/11 16:29:23 axs Exp $
EAPI=4
-inherit autotools eutils user toolchain-funcs
+inherit autotools eutils udev user toolchain-funcs
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="git://${PN}.git.sourceforge.net/gitroot/${PN}/${PN}"
@@ -41,14 +41,11 @@ src_prepare() {
}
src_configure() {
- local udevdir=/lib/udev
- has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
-
econf \
$(use_enable static-libs static) \
$(use_enable doc doxygen) \
$(use_enable crypt mtpz) \
- --with-udev="${udevdir}" \
+ --with-udev="$(udev_get_udevdir)" \
--with-udev-group=plugdev \
--with-udev-mode=0660
}