[PATCH] Fix lm_sensors installation with DESTDIR

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



thanks - applied.
you're welcome to test our package _before_ we release next time :)

Sergey Vlasov wrote:
> 
> Hello!
> 
> The new lm_sensors-2.8.2 has some bugs in the newly added Module.mk
> files, therefore "make install DESTDIR=something" does not work.
> 
> This patch fixes the problem:
> 
> --- lm_sensors-2.8.2/prog/pwm/Module.mk.install-fix     2003-10-28 04:41:47 +0300
> +++ lm_sensors-2.8.2/prog/pwm/Module.mk 2003-12-13 22:53:00 +0300
> @@ -22,7 +22,8 @@
>                    $(MODULE_DIR)/pwmconfig
> 
>  install-prog-pwm: $(PROGPWMTARGETS)
> -       $(INSTALL) -o root -g root -m 755 $(PROGPWMTARGETS) $(SBINDIR)
> +       $(MKDIR) $(DESTDIR)$(SBINDIR)
> +       $(INSTALL) -o root -g root -m 755 $(PROGPWMTARGETS) $(DESTDIR)$(SBINDIR)
> 
>  user_install :: install-prog-pwm
> 
> --- lm_sensors-2.8.2/prog/xeon/Module.mk.install-fix    2003-11-29 16:29:59 +0300
> +++ lm_sensors-2.8.2/prog/xeon/Module.mk        2003-12-13 22:53:40 +0300
> @@ -21,7 +21,8 @@
>  PROGXEONTARGETS := $(MODULE_DIR)/decode-xeon.pl
> 
>  install-prog-xeon: $(PROGXEONTARGETS)
> -       $(INSTALL) -o root -g root -m 755 $(PROGXEONTARGETS) $(BINDIR)
> +       $(MKDIR) $(DESTDIR)$(BINDIR)
> +       $(INSTALL) -o root -g root -m 755 $(PROGXEONTARGETS) $(DESTDIR)$(BINDIR)
> 
>  user_install :: install-prog-xeon
> 
> --- lm_sensors-2.8.2/prog/eeprom/Module.mk.install-fix  2003-11-29 16:29:59 +0300
> +++ lm_sensors-2.8.2/prog/eeprom/Module.mk      2003-12-13 22:53:00 +0300
> @@ -23,7 +23,8 @@
>                       $(MODULE_DIR)/decode-vaio.pl
> 
>  install-prog-eeprom: $(PROGEEPROMTARGETS)
> -       $(INSTALL) -o root -g root -m 755 $(PROGEEPROMTARGETS) $(BINDIR)
> +       $(MKDIR) $(DESTDIR)$(BINDIR)
> +       $(INSTALL) -o root -g root -m 755 $(PROGEEPROMTARGETS) $(DESTDIR)$(BINDIR)
> 
>  user_install :: install-prog-eeprom
> 
> 
> Best regards,
> Sergey Vlasov
> 
> 
>    Part 1.2Type: application/pgp-signature



[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux