summaryrefslogtreecommitdiffstats
path: root/lang/gnat
diff options
context:
space:
mode:
authorknu <knu@FreeBSD.org>2002-01-29 11:24:09 +0000
committerknu <knu@FreeBSD.org>2002-01-29 11:24:09 +0000
commitf6e00c6523a54ccae8d9221d4c43c1bebbe1592d (patch)
tree31ce147ffecf3f2de724e507ca8926196bdc04cd /lang/gnat
parent2a436f8061602989d2bc9da2badeb810b25743fe (diff)
downloadFreeBSD-ports-f6e00c6523a54ccae8d9221d4c43c1bebbe1592d.zip
FreeBSD-ports-f6e00c6523a54ccae8d9221d4c43c1bebbe1592d.tar.gz
Use ${ECHO_CMD} instead of ${ECHO} where you mean the echo command;
the ECHO macro is set to "echo" by default, but it is set to "true" if make(1) is invoked with the -s option while ECHO_CMD is always set to the echo command. Use command macros where appropriate.
Diffstat (limited to 'lang/gnat')
-rw-r--r--lang/gnat/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/lang/gnat/Makefile b/lang/gnat/Makefile
index aea0f5d..13ca553 100644
--- a/lang/gnat/Makefile
+++ b/lang/gnat/Makefile
@@ -51,18 +51,18 @@ MAN1= adagcc.1 cccp.1
# For the GNAT compiler, we look in ${PREFIX} and in ${LOCALBASE}.
.ifdef PREFIX
have_boot!= if [ -x ${PREFIX}/bin/adagcc -a -x ${PREFIX}/bin/gnatbind ]; then \
- ${ECHO} "${PREFIX}/bin"; \
+ ${ECHO_CMD} "${PREFIX}/bin"; \
else \
- ${ECHO} ""; \
+ ${ECHO_CMD} ""; \
fi
.else
have_boot=
.endif
.if empty(have_boot)
have_boot!= if [ -x ${LOCALBASE}/bin/adagcc -a -x ${LOCALBASE}/bin/gnatbind ]; then \
- ${ECHO} "${LOCALBASE}/bin"; \
+ ${ECHO_CMD} "${LOCALBASE}/bin"; \
else \
- ${ECHO} ""; \
+ ${ECHO_CMD} ""; \
fi
.endif
@@ -70,19 +70,19 @@ have_boot!= if [ -x ${LOCALBASE}/bin/adagcc -a -x ${LOCALBASE}/bin/gnatbind ]; t
# Check for attempts to cross-compile or build an aout GNAT compiler.
.if empty(have_boot)
have_boot!= if [ ${PORTOBJFORMAT} = "aout" ]; then \
- ${ECHO} "borken for aout"; \
+ ${ECHO_CMD} "borken for aout"; \
else \
- ${ECHO} ""; \
+ ${ECHO_CMD} ""; \
fi
.else
have_boot!= if [ `file ${have_boot}/adagcc | awk ' { print $$2 }'` = "ELF" ]; then \
if [ ${PORTOBJFORMAT} = "elf" ]; then \
- ${ECHO} ${have_boot}; \
+ ${ECHO_CMD} ${have_boot}; \
else \
- ${ECHO} "borken for aout"; \
+ ${ECHO_CMD} "borken for aout"; \
fi \
else \
- ${ECHO} "borken for aout"; \
+ ${ECHO_CMD} "borken for aout"; \
fi
.endif
OpenPOWER on IntegriCloud