summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgrant <grant>2002-08-14 02:38:25 +0000
committergrant <grant>2002-08-14 02:38:25 +0000
commit7caa0b7a176ce61483b55cf54d51bfe40f6674e4 (patch)
treeffa43ff6410d6efd7889df01af078030451e7744
parent11a25911ae5946466536fe37ba88a8970f446e7f (diff)
downloadpkgsrc-7caa0b7a176ce61483b55cf54d51bfe40f6674e4.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 ;; \