Edit

IABSD.fr/xenocara/xserver/Makefile.bsd-wrapper

Branch :

  • Show log

    Commit

  • Author : matthieu
    Date : 2009-09-11 06:17:29
    Hash : e7065007
    Message : Bring Xnest back. I had to disable its build during xserver 1.6 development because it wasn't building for a while. But all problems are now fixed. ok todd@.

  • xserver/Makefile.bsd-wrapper
  • # $OpenBSD: Makefile.bsd-wrapper,v 1.28 2009/09/11 06:17:29 matthieu Exp $
    
    .include <bsd.xconf.mk>
    
    DIST= ${.CURDIR}
    
    # Machines for which we don't build the Xorg Xserver
    NO_XORG_MACHINES=	aviion hppa hppa64 landisk \
    			mvme68k mvme88k mvmeppc solbourne vax
    
    NO_XF86UTIL_MACHINES=	hp300 landisk mac68k sgi sparc vax
    
    .for M in ${NO_XORG_MACHINES} 
    NO_XORG_${M} = --disable-xorg
    .endfor
    NO_XORG_OPTION=${NO_XORG_${MACHINE}}
    
    .for M in ${NO_XF86UTIL_MACHINES}
    NO_XF86_UTIL_${M} = --disable-xfree86-utils
    .endfor
    NO_XF86_UTIL_OPTION=${NO_XF86_UTIL_${MACHINE}}
    
    .if ${XENOCARA_BUILD_GL:L} != "yes"
    GLX_OPTION=	--disable-glx
    .endif
    
    .if ${XENOCARA_BUILD_DRI:L} == "yes"
    DRI_OPTION=	--enable-dri --enable-dri2 --with-dri-driver-path=${X11BASE}/lib/modules/dri
    .else
    DRI_OPTION=	--disable-dri --disable-dri2
    .endif
    
    CONFIGURE_ARGS=	--localstatedir=/var --sysconfdir=/etc/X11 \
    		--with-xkb-path=/etc/X11/xkb \
    		--with-xkb-output=/var/db/xkb \
    		--with-module-dir=${LIBDIR}/modules ${GLX_OPTION} \
    		--enable-install-setuid --enable-privsep \
    		--disable-dmx ${NO_XORG_OPTION} ${NO_XF86_UTIL_OPTION} \
    		${DRI_OPTION}
    
    .include <bsd.xorg.mk>