Date: Thu, 14 Sep 2000 15:14:05 +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: <20000914151405.F32524@ringwraith.office1.bg> In-Reply-To: <39C0BCB6.1AE26094@FreeBSD.org>; from sobomax@FreeBSD.org on Thu, Sep 14, 2000 at 02:55:35PM %2B0300 References: <20000913201407.4E4E52E802@hermes.tue.nl> <39C0ADA0.EBE7FE9F@FreeBSD.org> <20000914140034.B32524@ringwraith.office1.bg> <39C0B48C.EDDDDC73@FreeBSD.org> <20000914142439.D32524@ringwraith.office1.bg> <39C0BCB6.1AE26094@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 14, 2000 at 02:55:35PM +0300, Maxim Sobolev wrote: > Peter Pentchev wrote: > > > On Thu, Sep 14, 2000 at 02:20:45PM +0300, Maxim Sobolev wrote: > > > > > > I'm not sure what you are talking about, but what wrong with the following: > > > > > > OSNAME!= uname -s > > > > > > .if ${OSNAME} == "FreeBSD" > > > blabla > > > .else > > > ... > > > .endif > > > > Weell.. the truth is, I was not wholly aware of '!=' :) But then again.. > > portability? :( '!=' seems to be quite pmake-specific :( > > What type of portability you are thinking of? AFAIK, ".if FOO" stuff don't > compatible with gmake anyway, so you will not loose anything by extending > unportability a bit ;). Actually, I think the original poster was referring exactly to gmake - not in the ports context, but rather later, in a port that defines USE_GMAKE, and then invokes gmake in the source subdirs - that's where determining the arch might be useful. This could be done by checking for some variable that the port itself defines (MAKE_ENV-style), but it would fail if the program were to be made outside of the ports tree, by just uncompressing the archive, and typing ./configure and gmake by hand :( G'luck, Peter -- What would this sentence be like if pi were 3? 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?20000914151405.F32524>