sync code with last improvements from OpenBSD
This commit is contained in:
commit
88965415ff
26235 changed files with 29195616 additions and 0 deletions
47
xserver/Makefile.bsd-wrapper
Normal file
47
xserver/Makefile.bsd-wrapper
Normal file
|
@ -0,0 +1,47 @@
|
|||
# $OpenBSD: Makefile.bsd-wrapper,v 1.69 2020/08/28 02:20:19 jsg Exp $
|
||||
|
||||
.include <bsd.xconf.mk>
|
||||
|
||||
DIST= ${.CURDIR}
|
||||
|
||||
# Machines for which we don't build the Xorg Xserver
|
||||
NO_XORG_MACHINES= alpha landisk octeon
|
||||
|
||||
.for M in ${NO_XORG_MACHINES}
|
||||
NO_XORG_${M} = --disable-xorg
|
||||
.endfor
|
||||
NO_XORG_OPTION=${NO_XORG_${MACHINE}}
|
||||
|
||||
.if ${XENOCARA_BUILD_GL:L} != "yes"
|
||||
GLX_OPTION= --disable-glx --disable-glamor
|
||||
.else
|
||||
GLX_OPTION= --enable-glamor
|
||||
KDRIVE_OPTION= --enable-kdrive
|
||||
.endif
|
||||
|
||||
.if ${XENOCARA_BUILD_DRI:L} == "yes"
|
||||
DRI_OPTION= --enable-dri --enable-dri2
|
||||
.else
|
||||
DRI_OPTION= --disable-dri --disable-dri2 --disable-dri3 --disable-libdrm
|
||||
.endif
|
||||
|
||||
XKB_PATH= ${X11BASE}/share/X11/xkb
|
||||
XKB_RULES= base
|
||||
|
||||
CONFIGURE_ARGS= --localstatedir=/var --sysconfdir=/etc/X11 \
|
||||
--with-xkb-path=${XKB_PATH} \
|
||||
--with-xkb-output=/var/db/xkb \
|
||||
--with-default-xkb-rules=${XKB_RULES} \
|
||||
--with-module-dir=${LIBDIR}/modules ${GLX_OPTION} \
|
||||
--disable-install-setuid --enable-privsep \
|
||||
${KDRIVE_OPTION} \
|
||||
--enable-xcsecurity --disable-xdm-auth-1 \
|
||||
--without-fop --without-xmlto --without-xsltproc \
|
||||
--disable-dmx ${NO_XORG_OPTION} \
|
||||
--disable-unit-tests \
|
||||
${DRI_OPTION}
|
||||
|
||||
afterinstall:
|
||||
-chown -h ${BINOWN}:${BINGRP} ${DESTDIR}${BINDIR}/X
|
||||
|
||||
.include <bsd.xorg.mk>
|
Loading…
Add table
Add a link
Reference in a new issue