Skip to contentSkip to conversation

: missing DESTDIR support with hotplug dir

ALSA - firmware 0000815 [email protected] 1 participant 1 message Jan 13, 2005

lore
Share & tools
lore
#0 lore raw

The following issue has been RESOLVED.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=815>
======================================================================

Reported By:                gvy
Assigned To:                tiwai
======================================================================
Project:                    ALSA - firmware
Issue ID:                   815
Category:                   
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     resolved
Resolution:                 not an issue
Fixed in Version:           
======================================================================
Date Submitted:             01-13-2005 20:21 CET
Last Modified:              01-13-2005 20:52 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.
======================================================================

----------------------------------------------------------------------
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!

----------------------------------------------------------------------
tiwai - 01-13-05 20:52
----------------------------------------------------------------------
OK, thanks for checking.

Closing this now.

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                          
01-13-05 20:52 tiwai          Status                   new => resolved     
01-13-05 20:52 tiwai          Resolution               open => not an issue
01-13-05 20:52 tiwai          Assigned To               => tiwai           
01-13-05 20:52 tiwai          Note Added: 0003203                          

======================================================================

-------------------------------------------------------
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