summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant>2002-08-14 02:38:25 +0000
committergrant <grant>2002-08-14 02:38:25 +0000
commitc8cb120f2efc136eeeec76480c93867b9177f4f7 (patch)
treeffa43ff6410d6efd7889df01af078030451e7744
parent1920ab96b7f983508a61bedea944cbd598f6673d (diff)
downloadpkgsrc-c8cb120f2efc136eeeec76480c93867b9177f4f7.tar.gz
make this work on Solaris by using ${EGREP} instead of ${GREP}.
-rw-r--r--mk/endian.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/endian.mk b/mk/endian.mk
index 61113dee7d5..b0bbf3be871 100644
--- a/mk/endian.mk
+++ b/mk/endian.mk
@@ -1,4 +1,4 @@
-# $NetBSD: endian.mk,v 1.1 2002/04/22 02:30:51 jlam Exp $
+# $NetBSD: endian.mk,v 1.2 2002/08/14 02:38:25 grant Exp $
#
# Determine the endianness of the platform by checking header files.
#
@@ -40,7 +40,7 @@ MACHINE_ENDIAN!= \
${ECHO} "\#endif"; \
${ECHO} "\#endif"; \
${ECHO} "BYTE_ORDER"; \
- ) | ${CC} -E - | ${GREP} "^\\(1234\\|4321\\)" \
+ ) | ${CC} -E - | ${EGREP} "^(1234|4321)" \
`; \
case `${ECHO} $${byte_order}` in \
1234) ${ECHO} little ;; \