mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-02-15 04:32:24 +00:00
OpenBSD 6+: use installed X11 and Motif
This commit removes the need to setup X11 and motif import symlinks before building CDE. With OpenBSD v6+, the installed versions of X11 and Motif will be used. This may work with earlier versions of OpenBSD as well, but I don't have access to those older versions. If you try it, and it works, send a patch to the CDE mailing list. This was tested on OpenBSD 6.2
This commit is contained in:
parent
f598ed2358
commit
59b83865ef
2 changed files with 6 additions and 1 deletions
|
@ -148,6 +148,11 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* Use installed versions of Xm and X11 */
|
||||||
|
#if OSMajorVersion >= 6
|
||||||
|
# define UseInstalledX11 YES
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Compiler Features
|
* Compiler Features
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
BOOTSTRAPCFLAGS =
|
BOOTSTRAPCFLAGS =
|
||||||
CC = cc
|
CC = cc
|
||||||
CDEBUGFLAGS = -O
|
CDEBUGFLAGS = -O
|
||||||
INCLUDES = -I../../include -I/usr/local/include/X11 -I/usr/include/X11 -I../../imports/x11/include/X11
|
INCLUDES = -I../../include -I/usr/local/include/X11 -I/usr/include/X11 -I/usr/X11R6/include/X11 -I../../imports/x11/include/X11
|
||||||
CFLAGS = $(BOOTSTRAPCFLAGS) $(CDEBUGFLAGS) $(INCLUDES)
|
CFLAGS = $(BOOTSTRAPCFLAGS) $(CDEBUGFLAGS) $(INCLUDES)
|
||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
RM = rm -f
|
RM = rm -f
|
||||||
|
|
Loading…
Reference in a new issue