Don't try to use ${ECHO_CMD} in a != before including bsd.port.pre.mk

Submitted by:	distfile survey
This commit is contained in:
Bill Fenner 2002-01-29 16:43:55 +00:00
parent a2d149a0c5
commit fa5a13d8ec
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53974
2 changed files with 7 additions and 2 deletions

View File

@ -92,6 +92,9 @@ WITH_INPUT_METHOD+= --with-wnn6=-lwnn6_for_wnn7 --with-wnn-libraries=${LOCALBASE
.endif
COMP_ELC= egg.elc wnn-egg.elc sj3-client.elc sj3-egg.elc canna.elc
ELC_DIR= ../lisp
.include <bsd.port.pre.mk>
# Make a value of INPUT_METHOD
.if defined(INPUT_METHOD)
INPUT_METHOD!= ${ECHO_CMD} ${INPUT_METHOD} | sed -e 's/^/-/' -e 's/ /+/g'
@ -184,4 +187,4 @@ post-install:
post-package:
@${TOUCH} ${TOUCH_FLAGS} ${PACKAGE_COOKIE}
.include <bsd.port.mk>
.include <bsd.port.post.mk>

View File

@ -19,6 +19,8 @@ EXTRACT_ONLY=
DIST_SUBDIR= koi8r-ps
.include <bsd.port.pre.mk>
.if !defined(FONTMAP)
FONTMAP!= if which gs > /dev/null 2>&1 ; then \
d=`gs -h | awk '/^Search path:$$/ { nl=1; next } \
@ -88,4 +90,4 @@ do-install:
${LN} -s fonts.dir ${CPS_DIR}/fonts.scale
${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
.include <bsd.port.post.mk>