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

16 lines
590 B
Plaintext
Raw Normal View History

2009-10-10 05:18:51 -04:00
$OpenBSD: patch-RULES_mk-gmake_id,v 1.2 2009/10/10 09:18:51 espie Exp $
--- RULES/mk-gmake.id.orig Thu May 3 14:58:59 2007
+++ RULES/mk-gmake.id Sat Oct 10 11:17:10 2009
@@ -35,9 +35,9 @@ MAKEPROG= gmake
2009-10-10 05:18:51 -04:00
ifndef ARCH_DONE
-__gmake_warn:= $(shell cat $(SRCROOT)/$(RULESDIR)/gmake.wrn 1>&2; sleep 2)
+__gmake_warn:= :
-_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 '[A-Z]' '[a-z]' | tr ', /\\()"' ',//////' | tr ',/' ',\-')