Ticket #2296: 01-Makefile.patch

File 01-Makefile.patch, 0.6 kB (added by ticket, 10 months ago)
  • lm_sensors-3.0.0/Makefile

    old new  
    3838DESTDIR := 
    3939 
    4040# This is the prefix that will be used for almost all directories below. 
    41 PREFIX := /usr/local 
     41PREFIX ?= /usr/local 
    4242 
    4343# Your C compiler 
    4444CC := gcc 
    4545 
    4646# This is the directory where sensors.conf will be installed, if no other 
    4747# configuration file is found 
    48 ETCDIR := /etc 
     48ETCDIR ?= /etc 
    4949 
    5050# You should not need to change this. It is the directory into which the 
    5151# library files (both static and shared) will be installed.