summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2012-10-13 11:00:14 +0000
committerSergey Popov <pinkbyte@gentoo.org>2012-10-13 11:00:14 +0000
commitd3f7166afb96e1cc6f21cc23ddf0478564edf09a (patch)
tree2d45da5a9244702807b7cb9142541ddb057c95e2 /media-gfx/argyllcms
parentStable on amd64 wrt bug #437754 (diff)
downloadgentoo-2-d3f7166afb96e1cc6f21cc23ddf0478564edf09a.tar.gz
gentoo-2-d3f7166afb96e1cc6f21cc23ddf0478564edf09a.tar.bz2
gentoo-2-d3f7166afb96e1cc6f21cc23ddf0478564edf09a.zip
Fix location for installing udev rules wrt bug #438114
(Portage version: 2.2.0_alpha134/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/argyllcms')
-rw-r--r--media-gfx/argyllcms/ChangeLog6
-rw-r--r--media-gfx/argyllcms/argyllcms-1.4.0.ebuild11
2 files changed, 12 insertions, 5 deletions
diff --git a/media-gfx/argyllcms/ChangeLog b/media-gfx/argyllcms/ChangeLog
index 330775f485af..f0630ac6798e 100644
--- a/media-gfx/argyllcms/ChangeLog
+++ b/media-gfx/argyllcms/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-gfx/argyllcms
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/ChangeLog,v 1.24 2012/09/11 10:53:33 dilfridge Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/ChangeLog,v 1.25 2012/10/13 11:00:14 pinkbyte Exp $
+
+ 13 Oct 2012; Sergey Popov <pinkbyte@gentoo.org> argyllcms-1.4.0.ebuild:
+ Fix location for installing udev rules wrt bug #438114. Thanks to poncho for
+ discovering this issue and providing fix for it
11 Sep 2012; Andreas K. Huettel <dilfridge@gentoo.org> metadata.xml:
Drop maintainership
diff --git a/media-gfx/argyllcms/argyllcms-1.4.0.ebuild b/media-gfx/argyllcms/argyllcms-1.4.0.ebuild
index 2f717c547771..4cabc25e5b2a 100644
--- a/media-gfx/argyllcms/argyllcms-1.4.0.ebuild
+++ b/media-gfx/argyllcms/argyllcms-1.4.0.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-gfx/argyllcms/argyllcms-1.4.0.ebuild,v 1.3 2012/05/21 21:45:33 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/argyllcms/argyllcms-1.4.0.ebuild,v 1.4 2012/10/13 11:00:14 pinkbyte Exp $
EAPI=4
-inherit base
+inherit base toolchain-funcs
MY_P="Argyll_V${PV}"
DESCRIPTION="Open source, ICC compatible color management system"
@@ -29,7 +29,8 @@ RDEPEND="media-libs/tiff
x11-libs/libXScrnSaver"
DEPEND="${RDEPEND}
app-arch/unzip
- dev-util/ftjam"
+ dev-util/ftjam
+ virtual/pkgconfig"
S="${WORKDIR}/${MY_P}"
@@ -70,7 +71,9 @@ src_install() {
insinto /usr/share/${PN}/ref
doins ref/*
- insinto /etc/udev/rules.d
+ local udevdir=/lib/udev
+ has_version sys-fs/udev && udevdir="$($(tc-getPKG_CONFIG) --variable=udevdir udev)"
+ insinto "${udevdir}"/rules.d
doins libusb/55-Argyll.rules
}