]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - pkgs/cpufrequtils/patches/cpufrequtils-008-no-aperf-on-ppc.patch
Change file layout of the makefiles.
[people/amarx/ipfire-3.x.git] / pkgs / cpufrequtils / patches / cpufrequtils-008-no-aperf-on-ppc.patch
1 --- cpufrequtils-008/Makefile 2011-02-10 13:04:49.235589962 +0100
2 +++ cpufrequtils-008/Makefile.new 2011-02-10 13:08:00.481589942 +0100
3 @@ -118,7 +118,7 @@
4 CPPFLAGS += -DVERSION=\"$(VERSION)\" -DPACKAGE=\"$(PACKAGE)\" \
5 -DPACKAGE_BUGREPORT=\"$(PACKAGE_BUGREPORT)\" -D_GNU_SOURCE
6
7 -UTIL_SRC = utils/info.c utils/set.c utils/aperf.c utils/cpuid.h
8 +UTIL_SRC = utils/info.c utils/set.c
9 LIB_HEADERS = lib/cpufreq.h lib/interfaces.h
10 LIB_SRC = lib/cpufreq.c
11 LIB_OBJS = lib/cpufreq.o
12 @@ -199,7 +199,7 @@
13 $(QUIET) $(CC) $(CFLAGS) $(LDFLAGS) -L. -o $@ utils/$@.o -lcpufreq
14 $(QUIET) $(STRIPCMD) $@
15
16 -utils: cpufreq-info cpufreq-set cpufreq-aperf
17 +utils: cpufreq-info cpufreq-set
18
19 po/$(PACKAGE).pot: $(UTIL_SRC)
20 @xgettext --default-domain=$(PACKAGE) --add-comments \
21 @@ -229,7 +229,7 @@
22 clean:
23 -find . \( -not -type d \) -and \( -name '*~' -o -name '*.[oas]' \) -type f -print \
24 | xargs rm -f
25 - -rm -f cpufreq-info cpufreq-set cpufreq-aperf
26 + -rm -f cpufreq-info cpufreq-set
27 -rm -f libcpufreq.so*
28 -rm -f build/ccdv
29 -rm -rf po/*.gmo po/*.pot
30 @@ -246,7 +246,6 @@
31 $(INSTALL) -d $(DESTDIR)${bindir}
32 $(INSTALL_PROGRAM) cpufreq-set $(DESTDIR)${bindir}/cpufreq-set
33 $(INSTALL_PROGRAM) cpufreq-info $(DESTDIR)${bindir}/cpufreq-info
34 - $(INSTALL_PROGRAM) cpufreq-aperf $(DESTDIR)${bindir}/cpufreq-aperf
35
36 install-man:
37 $(INSTALL_DATA) -D man/cpufreq-set.1 $(DESTDIR)${mandir}/man1/cpufreq-set.1
38 @@ -270,7 +269,6 @@
39 - rm -f $(DESTDIR)${includedir}/cpufreq.h
40 - rm -f $(DESTDIR)${bindir}/cpufreq-set
41 - rm -f $(DESTDIR)${bindir}/cpufreq-info
42 - - rm -f $(DESTDIR)${bindir}/cpufreq-aperf
43 - rm -f $(DESTDIR)${mandir}/man1/cpufreq-set.1
44 - rm -f $(DESTDIR)${mandir}/man1/cpufreq-info.1
45 - for HLANG in $(LANGUAGES); do \