summaryrefslogtreecommitdiff
path: root/lib/libGL
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libGL')
-rw-r--r--lib/libGL/libmesa/Makefile7
-rw-r--r--lib/libGL/shlib_version2
2 files changed, 6 insertions, 3 deletions
diff --git a/lib/libGL/libmesa/Makefile b/lib/libGL/libmesa/Makefile
index ab3901667..3075e6ba3 100644
--- a/lib/libGL/libmesa/Makefile
+++ b/lib/libGL/libmesa/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.2 2008/03/23 16:43:25 oga Exp $
+# $OpenBSD: Makefile,v 1.3 2008/05/31 16:36:49 matthieu Exp $
MESA= ${.CURDIR}/../../../dist/Mesa/src/mesa
MESA_INCLUDE= ${.CURDIR}/../../../dist/Mesa/include
@@ -29,12 +29,15 @@ CPPFLAGS+= \
.if ${MACHINE_ARCH} == "i386"
CPPFLAGS += \
+ -I${MESA}/x86 \
-DUSE_X86_ASM \
-DUSE_MMX_ASM \
-DUSE_3DNOW_ASM \
-DUSE_SSE_ASM
.elif ${MACHINE_ARCH} == "amd64"
-CPPFLAGS += -D__GLX_ALIGN64 -DUSE_X86_64_ASM
+CPPFLAGS += \
+ -I${MESA}/x86 \
+ -D__GLX_ALIGN64 -DUSE_X86_64_ASM
.endif
# main
diff --git a/lib/libGL/shlib_version b/lib/libGL/shlib_version
index b39addfcc..9521c10df 100644
--- a/lib/libGL/shlib_version
+++ b/lib/libGL/shlib_version
@@ -1,2 +1,2 @@
major=7
-minor=1
+minor=3