summaryrefslogtreecommitdiff
path: root/mk/endian.mk
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2002-08-14 02:38:25 +0000
committergrant <grant@pkgsrc.org>2002-08-14 02:38:25 +0000
commitaf823178c5f723a1deba912d97aaf3687a36cc35 (patch)
treeffa43ff6410d6efd7889df01af078030451e7744 /mk/endian.mk
parent2dce5d01c442f95b9d1adff001be91c76e482e56 (diff)
downloadpkgsrc-af823178c5f723a1deba912d97aaf3687a36cc35.tar.gz
make this work on Solaris by using ${EGREP} instead of ${GREP}.
Diffstat (limited to 'mk/endian.mk')
-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 ;; \