summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libgphoto2/libgphoto2-2.1.4.ebuild')
-rw-r--r--media-libs/libgphoto2/libgphoto2-2.1.4.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/media-libs/libgphoto2/libgphoto2-2.1.4.ebuild b/media-libs/libgphoto2/libgphoto2-2.1.4.ebuild
index e5b261efb751..5bd1955b5f74 100644
--- a/media-libs/libgphoto2/libgphoto2-2.1.4.ebuild
+++ b/media-libs/libgphoto2/libgphoto2-2.1.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.1.4.ebuild,v 1.14 2004/07/31 02:50:26 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libgphoto2/libgphoto2-2.1.4.ebuild,v 1.15 2004/10/07 02:50:44 eradicator Exp $
inherit libtool eutils
@@ -103,14 +103,14 @@ src_install() {
pkg_postinst() {
einfo "Generating usbcam-gphoto2.usermap .."
HOTPLUG_USERMAP="/etc/hotplug/usb/usbcam-gphoto2.usermap"
- if [ -x ${ROOT}/usr/lib/libgphoto2/print-usb-usermap ]; then
+ if [ -x ${ROOT}/usr/$(get_libdir)/libgphoto2/print-usb-usermap ]; then
echo "# !!! DO NOT EDIT THIS FILE !!! This file is automatically generated." > ${ROOT}/${HOTPLUG_USERMAP}
echo "# Put your custom entries in /etc/hotplug/usb/usbcam.usermap" >> ${ROOT}/${HOTPLUG_USERMAP}
- ${ROOT}/usr/lib/libgphoto2/print-usb-usermap >> ${ROOT}/${HOTPLUG_USERMAP}
+ ${ROOT}/usr/$(get_libdir)/libgphoto2/print-usb-usermap >> ${ROOT}/${HOTPLUG_USERMAP}
else
- eerror "Unable to find ${ROOT}/usr/lib/libgphoto2/print-usb-usermap"
+ eerror "Unable to find ${ROOT}/usr/$(get_libdir)/libgphoto2/print-usb-usermap"
eerror "and therefore unable to generate hotplug usermap."
eerror "You will have to manually generate it by running:"
- eerror " /usr/lib/libgphoto2/print-usb-usermap > ${HOTPLUG_USERMAP}"
+ eerror " /usr/$(get_libdir)/libgphoto2/print-usb-usermap > ${HOTPLUG_USERMAP}"
fi
}