Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2000 14:04:08 +0300
From:      Peter Pentchev <roam@orbitel.bg>
To:        Maxim Sobolev <sobomax@FreeBSD.org>
Cc:        Marco van de Voort <marcov@stack.nl>, freebsd-ports@FreeBSD.org
Subject:   Re: Freepascal
Message-ID:  <20000914140408.C32524@ringwraith.office1.bg>
In-Reply-To: <20000914140034.B32524@ringwraith.office1.bg>; from roam@orbitel.bg on Thu, Sep 14, 2000 at 02:00:34PM %2B0300
References:  <20000913201407.4E4E52E802@hermes.tue.nl> <39C0ADA0.EBE7FE9F@FreeBSD.org> <20000914140034.B32524@ringwraith.office1.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 14, 2000 at 02:00:34PM +0300, Peter Pentchev wrote:
[snip]
> 
> ..which brings up a question.
> 
> Since make processes ifdef's before anything else in the Makefile,
                       ^^^^^ "if's", of course.. or just "conditionals"
> one cannot assign `uname -s` to a variable, and then test against this;
> the shell escape shall be processed *after* the includes, and the test
> will inevitably fail.
> 
> Is there a way around this?  Is there a Makefile-only way to test
> OS/platform/whatever, and set variables accordingly?
> 

G'luck,
Peter

-- 
"yields falsehood, when appended to its quotation." yields falsehood, when appended to its quotation.


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?20000914140408.C32524>