Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 May 2006 18:15:40 -0500
From:      "Jeremy Messenger" <mezz7@cox.net>
Cc:        ports@freebsd.org, riggs@rrr.de
Subject:   Re: move fontconfig to LOCALBASE from X11BASE
Message-ID:  <op.s9n2webj9aq2h7@mezz.mezzweb.com>
In-Reply-To: <20060516223523.GA39460@obiwan.tataz.chchile.org>
References:  <20060516223523.GA39460@obiwan.tataz.chchile.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 16 May 2006 17:35:23 -0500, Jeremie Le Hen <%1@%2chchile.org>  
wrote:

> Hi,
>
> (Please Cc: me in your replies, I am not subscribed to this list.)
>
> I wanted to update my mplayer port which is built WITHOUT_X11.
> Its Makefile contains:
>
> % .if defined(WITHOUT_X11)
> % WITHOUT_GUI=    yes
> % BUILD_DEPENDS+= imake:${X_IMAKE_PORT}
> % CONFIGURE_ARGS+=--disable-x11

Try to add here: (untest as haven't look in Makefile)

CONFIGURE_ENV+=	CPPFLAGS="-I${X11BASE}/include" \
		LDFLAGS="-L${X11BASE}/lib"

> % .else
> % USE_XLIB=       yes
> % CONFIGURE_ARGS+=--with-x11libdir=${X11BASE}/lib \
> %                 --with-x11incdir=${X11BASE}/include
> % .endif
>
> Unfortunately, fontconfig is installed to X11BASE.  We could fix the
> mplayer port, but I think this could happen with other ports as well:
>
> % obiwan:ports# awk -F\| '$8 ~ /fontconfig/ {print $2 "/Makefile" }'  
> INDEX | \
> %	xargs grep -l WITHOUT_X11 | wc -l
> %     120
>
> What about moving fontconfig from LOCALBASE to X11BASE ?

You mean by "from X11BASE to LOCALBASE", right? :-)

Cheers,
Mezz

> Thank you.
> Best regards,


-- 
mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org



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