diff options
-rw-r--r-- | x11/modular-xorg-server/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
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 |