freetype2/use_unix.diff

27 lines
1.2 KiB
Diff

Index: freetype-2.3.12/builds/toplevel.mk
===================================================================
--- freetype-2.3.12.orig/builds/toplevel.mk 2010-03-31 16:24:31.000000000 +0200
+++ freetype-2.3.12/builds/toplevel.mk 2010-03-31 16:31:02.000000000 +0200
@@ -120,7 +120,7 @@ ifdef check_platform
#
# Note: This test is duplicated in `builds/unix/detect.mk'.
#
- is_unix := $(strip $(wildcard /sbin/init) \
+ is_unix := $(strip $(wildcard /bin/ls) \
$(wildcard /usr/sbin/init) \
$(wildcard /hurd/auth))
ifneq ($(is_unix),)
Index: freetype-2.3.12/builds/unix/detect.mk
===================================================================
--- freetype-2.3.12.orig/builds/unix/detect.mk 2009-03-14 14:45:26.000000000 +0100
+++ freetype-2.3.12/builds/unix/detect.mk 2010-03-31 16:31:16.000000000 +0200
@@ -18,7 +18,7 @@ ifeq ($(PLATFORM),ansi)
# Note: this test is duplicated in "builds/toplevel.mk".
#
- is_unix := $(strip $(wildcard /sbin/init) \
+ is_unix := $(strip $(wildcard /bin/ls) \
$(wildcard /usr/sbin/init) \
$(wildcard /hurd/auth))
ifneq ($(is_unix),)