: missing DESTDIR support with hotplug dir
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=815>
======================================================================
Reported By: gvy
Assigned To:
======================================================================
Project: ALSA - firmware Issue ID: 815 Category: Reproducibility: always Severity: minor Priority: normal Status: new ====================================================================== Date Submitted: 01-13-2005 20:21 CET Last Modified: 01-13-2005 20:48 CET
======================================================================
Summary: missing DESTDIR support with hotplug dir
Description:
with intoruction of hotplug dir I had to kludge in RPM buildroot into configure parameters -- it doesn't belong there, it's rather install-time not compile-time (and definitely not configure-time).
hardwiring /usr/lib is no good too -- bringing ilbdir in would be better too.
======================================================================
----------------------------------------------------------------------
tiwai - 01-13-05 20:33
----------------------------------------------------------------------
$DESTDIR works fine for me...
The hotplug directory is really /usr/lib/hotplug (or better /lib/hotplug in the recent version). It shouldn't depend on $prefix.
----------------------------------------------------------------------
gvy - 01-13-05 20:48
----------------------------------------------------------------------
Failed for me with exactly this (expanded rpm macro):
/usr/bin/make 'INSTALL=/bin/install -p' prefix=/var/tmp/alsa-firmware-buildroot/usr exec_prefix=/var/tmp/alsa-firmware-buildroot/usr bindir=/var/tmp/alsa-firmware-buildroot/usr/bin sbindir=/var/tmp/alsa-firmware-buildroot/usr/sbin sysconfdir=/var/tmp/alsa-firmware-buildroot/etc datadir=/var/tmp/alsa-firmware-buildroot/usr/share includedir=/var/tmp/alsa-firmware-buildroot/usr/include libdir=/var/tmp/alsa-firmware-buildroot/usr/lib libexecdir=/var/tmp/alsa-firmware-buildroot/usr/lib localstatedir=/var/tmp/alsa-firmware-buildroot/var/lib sharedstatedir=/var/tmp/alsa-firmware-buildroot/usr/com mandir=/var/tmp/alsa-firmware-buildroot/usr/share/man infodir=/var/tmp/alsa-firmware-buildroot/usr/share/info install
The inconsistency is that everything else gets installed just fine like before.
%makeinstall DESTDIR=%buildroot would yield double prefix substitution for any other installation path, and I'm too dumb this evening to crank up a Makefile.* patch... so leaving the %configure parameter as is right now.
PS: sorry for typos and thanks for your work, Takashi! Domo arigato!
Issue History
Date Modified Username Field Change
======================================================================
01-13-05 20:21 gvy New Issue 01-13-05 20:33 tiwai Note Added: 0003199 01-13-05 20:48 gvy Note Added: 0003201
======================================================================
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt