".if defined" within dependencies

Alexander Leidinger Alexander at Leidinger.net
Tue Jul 1 08:59:18 PDT 2003


On Tue, 1 Jul 2003 17:21:48 +0200
Roman Neuhauser <neuhauser at 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


More information about the freebsd-ports mailing list