Fix incorrect defined() usage from style clean up in r289735.

Submitted by:	ngie
MFC after:	2 weeks
X-MFC-With:	r289735
Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Bryan Drewery 2015-10-22 04:52:37 +00:00
parent 37bfb9b3bf
commit cc104c812d

View File

@ -36,9 +36,9 @@ OUTMK= ${PROG}.mk
OUTC= ${PROG}.c
OUTPUTS=${OUTMK} ${OUTC} ${PROG}.cache
CRUNCHOBJS= ${.OBJDIR}
.if defined{MAKEOBJDIRPREFIX}
.if defined(MAKEOBJDIRPREFIX)
CANONICALOBJDIR:= ${MAKEOBJDIRPREFIX}${.CURDIR}
.elif defined{MAKEOBJDIR} && ${MAKEOBJDIR:M/*} != ""
.elif defined(MAKEOBJDIR) && ${MAKEOBJDIR:M/*} != ""
CANONICALOBJDIR:= ${MAKEOBJDIR}
.else
CANONICALOBJDIR:= /usr/obj${.CURDIR}