From owner-freebsd-ports Thu Sep 14 4:10:11 2000 Delivered-To: freebsd-ports@freebsd.org Received: from sentinel.office1.bg (sentinel.office1.bg [195.24.48.182]) by hub.freebsd.org (Postfix) with SMTP id A0CDA37B422 for ; Thu, 14 Sep 2000 04:10:05 -0700 (PDT) Received: (qmail 33533 invoked by uid 1001); 14 Sep 2000 11:04:08 -0000 Date: Thu, 14 Sep 2000 14:04:08 +0300 From: Peter Pentchev To: Maxim Sobolev Cc: Marco van de Voort , freebsd-ports@FreeBSD.org Subject: Re: Freepascal Message-ID: <20000914140408.C32524@ringwraith.office1.bg> References: <20000913201407.4E4E52E802@hermes.tue.nl> <39C0ADA0.EBE7FE9F@FreeBSD.org> <20000914140034.B32524@ringwraith.office1.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20000914140034.B32524@ringwraith.office1.bg>; from roam@orbitel.bg on Thu, Sep 14, 2000 at 02:00:34PM +0300 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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