You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
874 B

  1. From 26f8177f799f3cf781ed89cb28f771da7ef22421 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
  3. Date: Thu, 5 Mar 2015 13:42:09 +0100
  4. Subject: [PATCH] fix build on Mac OS X
  5. MIME-Version: 1.0
  6. Content-Type: text/plain; charset=UTF-8
  7. Content-Transfer-Encoding: 8bit
  8. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
  9. ---
  10. chipmunk/Makefile | 5 ++++-
  11. 1 file changed, 4 insertions(+), 1 deletion(-)
  12. --- a/chipmunk/Makefile
  13. +++ b/chipmunk/Makefile
  14. @@ -32,10 +32,13 @@ DEBUG_ON := -g
  15. ALL_CFLAGS = -W -Wall -Werror --pedantic $(CFLAGS)
  16. SYSTEM=$(shell uname 2>/dev/null)
  17. -ifneq (,$(filter $(SYSTEM),FreeBSD Darwin))
  18. +ifneq (,$(filter $(SYSTEM),FreeBSD))
  19. MAKE := gmake
  20. GZIP := /usr/bin/gzip
  21. endif
  22. +ifneq (,$(filter $(SYSTEM),Darwin))
  23. +GZIP := /usr/bin/gzip
  24. +endif
  25. BUILDFILE = BUILD
  26. BUILDNO := `cat $(BUILDFILE)`