Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Jul 2003 17:59:02 +0200
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        Roman Neuhauser <neuhauser@bellavista.cz>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: ".if defined" within dependencies
Message-ID:  <20030701175902.733ebac2.Alexander@Leidinger.net>
In-Reply-To: <20030701152148.GI11229@freepuppy.bellavista.cz>
References:  <20030630212733.GA94637@gruft.de> <20030701105303.06cfd91d.Alexander@Leidinger.net> <20030701152148.GI11229@freepuppy.bellavista.cz>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 1 Jul 2003 17:21:48 +0200
Roman Neuhauser <neuhauser@bellavista.cz> wrote:

> > > So, how can I depend on ocaml with WITHOUT_X11 set?
> > 
> > If ocaml isn't build already and WITHOUT_GUI is specified for mldonkey,
> > you want to have ocaml build WITHOUT_X11?
> > 
> > I haven't tested it, but perhaps setting
> >  MAKEFLAGS=$(MAKEFLAGS) -DWITHOUT_X11
> > does what you want.
> 
>     the problem is you can't do that with *_DEPENDS.

You can't do it for just one of them, you have to do it for all... and
you perhaps have to play with bsd.port.{pre,post}.mk.

Bye,
Alexander.

-- 
              The best things in life are free, but the
                expensive ones are still worth a look.

http://www.Leidinger.net                       Alexander @ Leidinger.net
  GPG fingerprint = C518 BC70 E67F 143F BE91  3365 79E2 9C60 B006 3FE7



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