Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Feb 2002 10:42:42 +0200
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        obrien@FreeBSD.org
Cc:        gnome@FreeBSD.org
Subject:   Re: bsd.gnome.mk needs this patch
Message-ID:  <3C79F902.5B164A35@FreeBSD.org>
References:  <20020224222548.A66147@dragon.nuxi.com> <3C79F2DA.69EAE6A0@FreeBSD.org> <20020225002225.A29201@dragon.nuxi.com>

next in thread | previous in thread | raw e-mail | index | archive | help
David O'Brien wrote:
> 
> On Mon, Feb 25, 2002 at 10:16:26AM +0200, Maxim Sobolev wrote:
> > > Please commit ASAP.  USE_MOTIF sets USE_XLIB, which then ensures the X11
> > > libs are installed.  GTK(GNOME) should do the same.
> > >
> > > Index: bsd.gnome.mk
> > > ===================================================================
> > > RCS file: /home/ncvs/ports/Mk/bsd.gnome.mk,v
> > > retrieving revision 1.13
> > > diff -u -r1.13 bsd.gnome.mk
> > > --- bsd.gnome.mk        13 Jan 2002 12:05:07 -0000      1.13
> > > +++ bsd.gnome.mk        25 Feb 2002 06:24:39 -0000
> > > @@ -220,6 +220,7 @@
> > >  .endif
> > >  .if defined(USE_GTK)
> > >  USE_GLIB=      yes
> > > +USE_XLIB=      yes
> > >  .endif
> > >
> > >  .if defined(USE_ESOUND)
> >
> > No, because X11 dependency inherited along with gtk+ dependency.
> 
> WRONG.  It is only done if gtk was built as a port.

Nope, because full dependency chain gets recorded into a package, so
that every package that depend on gtk+ will contain X11 dependency in
its +CONTENTS.

> Look, I need this for the Vim port -- there should be a knob to let you
> know that the X libs are needed.  If you are linking with gtk, you need
> the X libs.  In EVERY other case, USE_XLIB is set, except for the USE_GTK
> case.

All you need to do is to set USE_GTK.

-Maxim

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-gnome" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C79F902.5B164A35>