move fontconfig to LOCALBASE from X11BASE

Jeremy Messenger mezz7 at cox.net
Tue May 16 23:12:43 UTC 2006


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 at cox.net  -  mezz at FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome at FreeBSD.org


More information about the freebsd-ports mailing list