From 5740d80df38348efab32c2f5032cee09e4c89c33 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sun, 30 Sep 2012 00:24:25 +0000 Subject: Fix possible "double prefix" for udevdir. (Portage version: 2.2.0_alpha134/cvs/Linux i686) --- sys-fs/ntfs3g/ChangeLog | 5 ++++- sys-fs/ntfs3g/ntfs3g-2012.1.15-r2.ebuild | 7 +++++-- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'sys-fs') diff --git a/sys-fs/ntfs3g/ChangeLog b/sys-fs/ntfs3g/ChangeLog index e8002b2ec1ef..b119b18781b5 100644 --- a/sys-fs/ntfs3g/ChangeLog +++ b/sys-fs/ntfs3g/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-fs/ntfs3g # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ChangeLog,v 1.136 2012/08/25 22:37:41 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ChangeLog,v 1.137 2012/09/30 00:24:25 zmedico Exp $ + + 30 Sep 2012; Zac Medico ntfs3g-2012.1.15-r2.ebuild: + Fix possible "double prefix" for udevdir. 25 Aug 2012; Mike Frysinger ntfs3g-2012.1.15-r1.ebuild: Drop useless -vf args to mv #432632 by Joshua B. Kahlenberg. diff --git a/sys-fs/ntfs3g/ntfs3g-2012.1.15-r2.ebuild b/sys-fs/ntfs3g/ntfs3g-2012.1.15-r2.ebuild index f8dbfdb3462d..b05e3ee5220c 100644 --- a/sys-fs/ntfs3g/ntfs3g-2012.1.15-r2.ebuild +++ b/sys-fs/ntfs3g/ntfs3g-2012.1.15-r2.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/sys-fs/ntfs3g/ntfs3g-2012.1.15-r2.ebuild,v 1.1 2012/08/10 17:29:28 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-fs/ntfs3g/ntfs3g-2012.1.15-r2.ebuild,v 1.2 2012/09/30 00:24:25 zmedico Exp $ EAPI=4 inherit linux-info toolchain-funcs @@ -65,7 +65,10 @@ src_install() { use suid && fperms u+s /usr/bin/${MY_PN} local udevdir=/lib/udev - has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)" + if has_version sys-fs/udev; then + udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)" + udevdir=${udevdir#${EPREFIX}} + fi insinto "${udevdir}"/rules.d doins "${FILESDIR}"/99-ntfs3g.rules -- cgit v1.2.3-65-gdbad