tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: X11/XlibConf.h missing



> well, it's easy to have x11-links use xorg.mk instead of xfree.mk.
> However, as a consequence, since X11_TYPE is native and not modular,
> ../../x11/libX11/buildlink3.mk does not add libX11 to BUILDLINK_PACKAGES.
> Further to that, X11/Xlib.h does not get added to x11-links's PLIST which
> causes e.g. x11/Xfixes to fail to compile, although the FreeBSD installation
> does ship with a /usr/X11R6/include/X11/Xlib.h installed.
> As a hack, if one adds
> 
> BUILDLINK_PACKAGES:=    ${BUILDLINK_PACKAGES:NlibX11}
> BUILDLINK_PACKAGES+=    libX11
> 
> to xorg.mk and manually sets IS_BUILTIN.libX11=yes, things work.
> This is of course not a fix.
> The question thus remains whether xorg.mk is supposed to be used in the first
> place in case X11_TYPE is native, or even more broadly, whether it is correct
> to have X11_TYPE=native on a stock FreeBSD 7 installation. Depending on that
> answer, we can develop a correct fix.
> 
> The same issue applies to libXext, too, BTW. It appears that xorg.mk was not
> supposed to be used with X11_TYPE!=modular, was it?

x11-links (and xorg.mk) are never used with modular. x11-links and xorg.mk 
should be used with X11_TYPE=native when native X.org is detected.

A "native" X.org used to work (I have used it on NetBSD and Linux) and 
should work on FreeBSD.


Home | Main Index | Thread Index | Old Index