X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=options.mk;h=f38268d1566ebb60d1b260afeb1f489db361a88b;hb=35bcdf8067b11488c41687d3c4bebb483500ed52;hp=8f405e5628aea68953968257bd33a0752887d485;hpb=54ae9c00c2954ae6a86b8d469f077929f58ed3a5;p=pkgsrc-xorg-server.git diff --git a/options.mk b/options.mk index 8f405e5..f38268d 100644 --- a/options.mk +++ b/options.mk @@ -1,53 +1,10 @@ # $NetBSD: options.mk,v 1.2 2007/12/08 09:23:16 wiz Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.modular-xorg-server -PKG_SUPPORTED_OPTIONS= dri inet6 +PKG_SUPPORTED_OPTIONS= inet6 .include "../../mk/bsd.options.mk" -PLIST_VARS+= dri - -.if !empty(PKG_OPTIONS:Mdri) -PLIST.dri= yes -.include "mesaconfig.mk" -DISTFILES= ${DEFAULT_DISTFILES} -DISTFILES+= MesaLib-7.0.4.tar.bz2 -_PKGSRC_PATCHES+= ${FILESDIR}/patch-mesa # XXX is there a better way? -SITES.MesaLib-7.0.4.tar.bz2=\ - ${MASTER_SITE_SOURCEFORGE:=mesa3d/} -MESA_SRC= ${WRKDIR}/Mesa-7.0.4 -CONFIGURE_ARGS+= --enable-glx -CONFIGURE_ARGS+= --enable-aiglx -CONFIGURE_ARGS+= --with-mesa-source=${MESA_SRC} -.if ${MACHINE_ARCH} == "x86_64" || ${MACHINE_ARCH} == "sparc64" || \ - ${MACHINE_ARCH} == "alpha" -GLX_DEFINES+= -D__GLX_ALIGN64 -.endif -CONFIGURE_ENV+= GLX_DEFINES=${GLX_DEFINES:M*:Q} -# glcore.h and dri_interface.h shipped with *proto are older than -# those in Mesa-7.0.2. Either patch them or trick the build into using -# the newer ones. -#BUILDLINK_API_DEPENDS.glproto+= glproto>=1.4.8nb1 -#BUILDLINK_API_DEPENDS.xf86driproto+= xf86driproto>=2.0.3nb1 -### -### XXX As of driproto-2.0.4 and glproto-1.4.9, this should not be needed. -### -dri-post-extract: - ${LN} -s ${MESA_SRC:Q}/include/GL ${WRKSRC:Q}/GL/glx/GL - -.else -### -### XXX Do we want this? -### -CONFIGURE_ARGS+= --disable-glx - -dri-post-extract: - @${DO_NADA} - -# for GLX we already have the Mesa source -.include "../../graphics/MesaLib/buildlink3.mk" -.endif - .if !empty(PKG_OPTIONS:Minet6) CONFIGURE_ARGS+= --enable-ipv6 .else