FreeBSD 11: Don't use imported x11/motif, use installed versions for build

With this patch, the import symlinks for x11 and motif do not need to
be created.  The build will use the installed headers in
/usr/local/include/{X11, Xm}.

This will work for FreeBSD 11 only ATM as I don't have older systems
to test with.

It may work for FreeBSD 10 or earlier versions as well.  If so, edit
config/cf/FreeBSD.cf and change the OSMajorVersion check for
UseInstalledX11 appropriately.  And send a patch to the CDE mailing
list :)
This commit is contained in:
Jon Trulson
2018-06-14 00:59:38 +00:00
parent 0554f2335f
commit 396eff69f7
2 changed files with 7 additions and 1 deletions

View File

@@ -11,7 +11,7 @@
BOOTSTRAPCFLAGS =
CC = cc
CDEBUGFLAGS = -O
INCLUDES = -I../../include -I/usr/include/X11 -I../../imports/x11/include/X11
INCLUDES = -I../../include -I/usr/local/include/X11 -I/usr/include/X11 -I../../imports/x11/include/X11
CFLAGS = $(BOOTSTRAPCFLAGS) $(CDEBUGFLAGS) $(INCLUDES)
SHELL = /bin/sh
RM = rm -f