1
0

patch-Makefile 1.6 KB

1234567891011121314151617181920212223242526272829303132
  1. --- cpufrequtils-008.orig/Makefile 2010-07-05 17:43:17.000000000 +0200
  2. +++ cpufrequtils-008/Makefile 2010-07-26 20:46:53.000000000 +0200
  3. @@ -87,7 +87,7 @@ INSTALL_SCRIPT = ${INSTALL_PROGRAM}
  4. # If you are running a cross compiler, you may want to set this
  5. # to something more interesting, like "arm-linux-". If you want
  6. # to compile vs uClibc, that can be done here as well.
  7. -CROSS = #/usr/i386-linux-uclibc/usr/bin/i386-uclibc-
  8. +CROSS ?= #/usr/i386-linux-uclibc/usr/bin/i386-uclibc-
  9. CC = $(CROSS)gcc
  10. LD = $(CROSS)gcc
  11. AR = $(CROSS)ar
  12. @@ -246,14 +246,16 @@ install-tools:
  13. $(INSTALL_PROGRAM) cpufreq-aperf $(DESTDIR)${bindir}/cpufreq-aperf
  14. install-man:
  15. - $(INSTALL_DATA) -D man/cpufreq-set.1 $(DESTDIR)${mandir}/man1/cpufreq-set.1
  16. - $(INSTALL_DATA) -D man/cpufreq-info.1 $(DESTDIR)${mandir}/man1/cpufreq-info.1
  17. + $(INSTALL) -d $(DESTDIR)${mandir}/man1
  18. + $(INSTALL_DATA) man/cpufreq-set.1 $(DESTDIR)${mandir}/man1/cpufreq-set.1
  19. + $(INSTALL_DATA) man/cpufreq-info.1 $(DESTDIR)${mandir}/man1/cpufreq-info.1
  20. install-gmo:
  21. $(INSTALL) -d $(DESTDIR)${localedir}
  22. for HLANG in $(LANGUAGES); do \
  23. - echo '$(INSTALL_DATA) -D po/$$HLANG.gmo $(DESTDIR)${localedir}/$$HLANG/LC_MESSAGES/cpufrequtils.mo'; \
  24. - $(INSTALL_DATA) -D po/$$HLANG.gmo $(DESTDIR)${localedir}/$$HLANG/LC_MESSAGES/cpufrequtils.mo; \
  25. + echo '$(INSTALL_DATA) po/$$HLANG.gmo $(DESTDIR)${localedir}/$$HLANG/LC_MESSAGES/cpufrequtils.mo'; \
  26. + $(INSTALL) -d $(DESTDIR)${localedir}/$$HLANG/LC_MESSAGES/; \
  27. + $(INSTALL_DATA) po/$$HLANG.gmo $(DESTDIR)${localedir}/$$HLANG/LC_MESSAGES/cpufrequtils.mo; \
  28. done;
  29. install-bench: