diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-08-06 13:20:46 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-08-06 13:20:46 +0000 |
commit | 9abb260416d5178541efddd34bdb667719a0c911 (patch) | |
tree | f9fe1cfae8d8288e88b198ee25bfaaec6776496b /media-libs/libmtp/libmtp-9999.ebuild | |
parent | keyword ~amd64-fbsd (diff) | |
download | gentoo-2-9abb260416d5178541efddd34bdb667719a0c911.tar.gz gentoo-2-9abb260416d5178541efddd34bdb667719a0c911.tar.bz2 gentoo-2-9abb260416d5178541efddd34bdb667719a0c911.zip |
Read udev.pc pkg-config file for --with-udev= value.
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libmtp/libmtp-9999.ebuild')
-rw-r--r-- | media-libs/libmtp/libmtp-9999.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/media-libs/libmtp/libmtp-9999.ebuild b/media-libs/libmtp/libmtp-9999.ebuild index 71464d9df2a5..d5515f32e7fa 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.3 2012/06/09 00:12:46 zmedico Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/libmtp/libmtp-9999.ebuild,v 1.4 2012/08/06 13:20:46 ssuominen Exp $ EAPI=4 -inherit autotools user +inherit autotools user toolchain-funcs if [[ ${PV} == *9999* ]]; then EGIT_REPO_URI="git://${PN}.git.sourceforge.net/gitroot/${PN}/${PN}" @@ -21,7 +21,8 @@ LICENSE="LGPL-2.1" SLOT="0" IUSE="+crypt doc examples static-libs" -RDEPEND="virtual/libusb:1 +RDEPEND="sys-fs/udev + virtual/libusb:1 crypt? ( dev-libs/libgcrypt )" DEPEND="${RDEPEND} virtual/pkgconfig @@ -45,6 +46,7 @@ src_configure() { $(use_enable static-libs static) \ $(use_enable doc doxygen) \ $(use_enable crypt mtpz) \ + --with-udev="$($(tc-getPKG_CONFIG) --variable=udevdir udev)" \ --with-udev-group=plugdev \ --with-udev-mode=0660 } |