Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Dec 1998 10:49:59 -0800
From:      "David O'Brien" <obrien@NUXI.com>
To:        Satoshi Asami <asami@FreeBSD.ORG>
Cc:        ports@FreeBSD.ORG
Subject:   Re: Why does !exists() not work
Message-ID:  <19981224104959.F2039@dragon.nuxi.com>
In-Reply-To: <199812241825.KAA15145@silvia.hip.berkeley.edu>; from Satoshi Asami on Thu, Dec 24, 1998 at 10:25:43AM -0800
References:  <19981224095147.A18144@dragon.nuxi.com> <199812241825.KAA15145@silvia.hip.berkeley.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Dec 24, 1998 at 10:25:43AM -0800, Satoshi Asami wrote:
>  * Why doesn't this work:
>  * 
>  * .if !exists(${DISTDIR}/vp-bro-0.4-alpha${EXTRACT_SUFX})
> 
> Either DISTDIR or EXTRACT_SUFX is not defined yet.  The BSD make
> generally does lazy evaluation but it can't read ahead of
> conditionals.

But at the point the `IGNORE' string is used, it is defined?

I also tried this logic below the include of bsd.port.mk.
Should that have worked?

 
> DISTDIR is in bsd.port.pre.mk but EXTRACT_SUFX is not.  I'll move it.

Cool.

-- 
-- David    (obrien@NUXI.com  -or-  obrien@FreeBSD.org)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981224104959.F2039>