From f7946ffa4e9183606b4231d5628a5f1345fd6b17 Mon Sep 17 00:00:00 2001 From: drochner Date: Mon, 5 Mar 2007 17:55:27 +0000 Subject: __GLX_ALIGN64 is only for 64-bit archs, from Blair Sadewitz per PM --- x11/modular-xorg-server/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/x11/modular-xorg-server/Makefile b/x11/modular-xorg-server/Makefile index f9a9d48d701..c72fccf5376 100644 --- a/x11/modular-xorg-server/Makefile +++ b/x11/modular-xorg-server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2007/03/02 11:51:49 drochner Exp $ +# $NetBSD: Makefile,v 1.9 2007/03/05 17:55:27 drochner Exp $ DISTNAME= xorg-server-1.2.0 PKGREVISION= 1 @@ -33,7 +33,10 @@ SITES.MesaLib-6.5.2.tar.bz2= ${MASTER_SITE_SOURCEFORGE:=mesa3d/} MESA_SRC= ${WRKDIR}/Mesa-6.5.2 CONFIGURE_ARGS+= --enable-glx CONFIGURE_ARGS+= --with-mesa-source=${MESA_SRC} +.if ${MACHINE_ARCH} == "amd64" || ${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-6.5.2. Either patch them or trick the build into using -- cgit v1.2.3