pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/modular-xorg-server __GLX_ALIGN64 is only for 64-b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/39dc61df1ccc
branches:  trunk
changeset: 526249:39dc61df1ccc
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Mon Mar 05 17:55:27 2007 +0000

description:
__GLX_ALIGN64 is only for 64-bit archs, from Blair Sadewitz per PM

diffstat:

 x11/modular-xorg-server/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 22fa7ef2bbd5 -r 39dc61df1ccc x11/modular-xorg-server/Makefile
--- a/x11/modular-xorg-server/Makefile  Mon Mar 05 17:42:55 2007 +0000
+++ b/x11/modular-xorg-server/Makefile  Mon Mar 05 17:55:27 2007 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index