openbsd-ports/archivers/star/patches/patch-RULES_mk-gmake_id

13 lines
592 B
Plaintext

$OpenBSD: patch-RULES_mk-gmake_id,v 1.3 2010/07/02 05:20:26 naddy Exp $
--- RULES/mk-gmake.id.orig Wed Sep 9 14:29:28 2009
+++ RULES/mk-gmake.id Thu Jul 1 05:52:03 2010
@@ -54,7 +54,7 @@ ifndef GMAKE_NOWARN
__gmake_warn:= $(shell cat $(SRCROOT)/$(RULESDIR)/gmake.wrn 1>&2; sleep 2)
endif
-_MACHCMD= (mach || uname -p || true) 2> /dev/null
+_MACHCMD= (mach || machine || uname -p || true) 2> /dev/null
_ARCHCMD= (arch || /usr/ucb/arch || true) 2> /dev/null
XP_ARCH:= $(shell $(_MACHCMD) | tr 'ABCDEFGHIJKLMNOPQRSTUVWXYZ, /\\()"' 'abcdefghijklmnopqrstuvwxyz,//////' | tr ',/' ',\-')