diff options
author | knu <knu@FreeBSD.org> | 2002-01-29 19:08:52 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2002-01-29 19:08:52 +0800 |
commit | 2a436f8061602989d2bc9da2badeb810b25743fe (patch) | |
tree | cbe88b8f8fbad0137e21885684157d7bc8fb5240 /japanese/jvim3 | |
parent | 4945631e5af11d192570f6bcb9c89591bfbe9e1a (diff) | |
download | freebsd-ports-gnome-2a436f8061602989d2bc9da2badeb810b25743fe.tar.gz freebsd-ports-gnome-2a436f8061602989d2bc9da2badeb810b25743fe.tar.zst freebsd-ports-gnome-2a436f8061602989d2bc9da2badeb810b25743fe.zip |
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 'japanese/jvim3')
-rw-r--r-- | japanese/jvim3/Makefile | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/japanese/jvim3/Makefile b/japanese/jvim3/Makefile index 2eff169563cc..dc209c40e56e 100644 --- a/japanese/jvim3/Makefile +++ b/japanese/jvim3/Makefile @@ -82,8 +82,8 @@ FEPLIBS+= -L${LOCALBASE}/lib -ljd -lcrypt # .if defined(INPUT_METHOD) # Make a value of INPUT_METHOD -## 'echo' and 'sed' in the next line cannot replace by '${ECHO}' and '${SED}' -INPUT_METHOD!= echo ${INPUT_METHOD} | sed -e 's/^/-/' -e 's/ /+/g' +## 'sed' in the next line cannot be replaced with '${SED}' +INPUT_METHOD!= ${ECHO_CMD} ${INPUT_METHOD} | sed -e 's/^/-/' -e 's/ /+/g' FEPOPT+= -DFEPCTRL .if !defined(DIRECT_CANNA) # For ONEW library @@ -91,8 +91,8 @@ BUILD_DEPENDS+= ${LOCALBASE}/lib/libonew${INPUT_METHOD}.a:${PORTSDIR}/japanese/o FEPOPT+= -DONEW # If we use ONEW libray, then -lonew-* needs appear # before the other libraries in ${FEPLIBS}. -### 'sed' and 'echo' in the next line cannot replace by '${SED}' and ${ECHO} -FEPLIBS!= echo ${FEPLIBS} | sed 's%^%-lonew${INPUT_METHOD} %' +$## 'sed' in the next line cannot be replaced with '${SED}' +FEPLIBS!= ${ECHO_CMD} ${FEPLIBS} | sed 's%^%-lonew${INPUT_METHOD} %' FEPOBJS= feponew.o ### .endif @@ -123,9 +123,9 @@ do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/grep/grep ${PREFIX}/bin/jgrep .if defined(INPUT_METHOD) .if defined(DIRECT_CANNA) - ${ECHO} "set fepctrl" > ${PREFIX}/etc/jvim3rc + ${ECHO_CMD} "set fepctrl" > ${PREFIX}/etc/jvim3rc .else - ${ECHO} "set fepctrl onewredraw" > ${PREFIX}/etc/jvim3rc + ${ECHO_CMD} "set fepctrl onewredraw" > ${PREFIX}/etc/jvim3rc .endif .endif .if !defined(NOPORTDOCS) |