summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortron <tron>2007-12-16 12:27:28 +0000
committertron <tron>2007-12-16 12:27:28 +0000
commit26c487a74743d543b59b8929dc83c2d2c8341a16 (patch)
tree30db8eab97634cf8ef480adf2828f8ee562a4d9a /mk
parentc8e33950abbc76290d00b7cb0b79ad4e426b51ce (diff)
downloadpkgsrc-26c487a74743d543b59b8929dc83c2d2c8341a16.tar.gz
Mac OS X's Leopard "/bin/sh" doesn't support "echo -n" (apparently by
purpose because if it is invoked as "/bin/bash" it does). Use "/bin/echo -n" instead.
Diffstat (limited to 'mk')
-rw-r--r--mk/platform/Darwin.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/platform/Darwin.mk b/mk/platform/Darwin.mk
index 4dc966ca065..23271e59d89 100644
--- a/mk/platform/Darwin.mk
+++ b/mk/platform/Darwin.mk
@@ -1,11 +1,15 @@
-# $NetBSD: Darwin.mk,v 1.26 2007/10/19 13:41:35 rillig Exp $
+# $NetBSD: Darwin.mk,v 1.27 2007/12/16 12:27:28 tron Exp $
#
# Variable definitions for the Darwin operating system.
.if !defined(CPP) || ${CPP} == "cpp"
CPP= ${CC} -E ${CPP_PRECOMP_FLAGS}
.endif
+.if empty(MACHINE_PLATFORM:MDarwin-[0-8].*-i386)
+ECHO_N?= /bin/echo -n
+.else
ECHO_N?= ${ECHO} -n
+.endif
LDD?= /usr/bin/otool -L
IMAKE_MAKE?= ${MAKE} # program which gets invoked by imake
PKGLOCALEDIR?= share