Search
j0ke.net Open Build Service
>
Projects
>
GFS
>
libsensors3
> lm_sensors-2.10.6.dif
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File lm_sensors-2.10.6.dif of Package libsensors3
Index: Makefile =================================================================== --- Makefile.orig +++ Makefile @@ -75,7 +75,7 @@ DEBUG := 0 DESTDIR := # This is the prefix that will be used for almost all directories below. -PREFIX := /usr/local +PREFIX := /usr # Your C compiler CC := gcc @@ -97,7 +97,7 @@ ifeq (,$(findstring /2.4., $(MODPREF))) else SYSFS_SUPPORT := endif -#SYSFS_SUPPORT := 1 +SYSFS_SUPPORT := 1 # Prevent 2.6+ users from using improper targets, as this won't work. ifeq (,$(findstring /2.4., $(MODPREF))) @@ -141,7 +141,7 @@ LIBINCLUDEDIR := $(INCLUDEDIR)/sensors # You should not need to change this. It is the base directory under which the # manual pages will be installed. -MANDIR := $(PREFIX)/man +MANDIR := $(PREFIX)/share/man MACHINE := $(shell uname -m) @@ -216,7 +216,7 @@ ifeq ($(DEBUG),1) ALL_CPPFLAGS += -DDEBUG ALL_CFLAGS += -O -g else -ALL_CFLAGS += -O2 +ALL_CFLAGS += $(RPM_OPT_FLAGS) endif ifeq ($(WARN),1)