Don't try to use ${AWK}, ${GREP} or ${TAIL} in != before including

bsd.port.pre.mk.

Submitted by:	distfile survey
This commit is contained in:
Bill Fenner 2002-01-29 16:32:16 +00:00
parent 15e8ee6894
commit e736998cb0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=53971

View file

@ -43,11 +43,12 @@ LD_PATH= ${TMPDIR}:${WRKSRC}:${LINUXBASE}/lib:${LINUXBASE}/usr/lib
INSTDB.INS= ${PREFIX}/office52/program/instdb.ins
SUNSOLVE= ${WRKDIR}/109939-03
ADABAS_DIST= soa-5_2-ga-bin-linux-de.bin
SIZE!= /bin/df -k . | ${TAIL} -n 1 | ${AWK} '{print $$4}'
LINPROCFS!= /sbin/mount | ${GREP} linprocfs | ${AWK} '{print $1}'
.include <bsd.port.pre.mk>
SIZE!= /bin/df -k . | ${TAIL} -n 1 | ${AWK} '{print $$4}'
LINPROCFS!= /sbin/mount | ${GREP} linprocfs | ${AWK} '{print $1}'
pre-fetch:
.if ${LINPROCFS}
@${ECHO}