Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2000 08:50:27 -0500
From:      "Jacques A. Vidrine" <n@nectar.com>
To:        Peter Pentchev <roam@orbitel.bg>
Cc:        Maxim Sobolev <sobomax@FreeBSD.org>, Marco van de Voort <marcov@stack.nl>, freebsd-ports@FreeBSD.org
Subject:   Re: Freepascal
Message-ID:  <20000914085027.C16624@spawn.nectar.com>
In-Reply-To: <20000914151405.F32524@ringwraith.office1.bg>; from roam@orbitel.bg on Thu, Sep 14, 2000 at 03:14:05PM %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> <20000914151405.F32524@ringwraith.office1.bg>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Sep 14, 2000 at 03:14:05PM +0300, Peter Pentchev wrote:
> 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.

In which case the ugly GNU make syntax is something like

  ifeq ($(findstring $(shell uname),FreeBSD),FreeBSD)
  # yay, FreeBSD!
  endif

If there is a better way, I'd love to hear it.  God, I hate GNU make.
-- 
Jacques Vidrine / n@nectar.com / jvidrine@verio.net / nectar@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?20000914085027.C16624>