Tue Oct 21 06:46:47 2008 UTC ()
Don't force using libm functions on Linux; most of the developers
use Linux, and they'd know better than I what's apporpriate.


(bjs)
diff -r1.1 -r1.2 pkgsrc/graphics/MesaLib/glx-config.mk

cvs diff -r1.1 -r1.2 pkgsrc/graphics/MesaLib/Attic/glx-config.mk (expand / switch to unified diff)

--- pkgsrc/graphics/MesaLib/Attic/glx-config.mk 2008/09/18 21:10:28 1.1
+++ pkgsrc/graphics/MesaLib/Attic/glx-config.mk 2008/10/21 06:46:46 1.2
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: glx-config.mk,v 1.1 2008/09/18 21:10:28 bjs Exp $ 1# $NetBSD: glx-config.mk,v 1.2 2008/10/21 06:46:46 bjs Exp $
2# 2#
3# used by x11/modular-xorg-server/options.mk 3# used by x11/modular-xorg-server/options.mk
4 4
5.if !defined(GLX_CONFIG_MK) 5.if !defined(GLX_CONFIG_MK)
6GLX_CONFIG_MK= # empty 6GLX_CONFIG_MK= # empty
7 7
8### XXX Older versions of xf86driproto installed dri_interface.h, which 8### XXX Older versions of xf86driproto installed dri_interface.h, which
9### is now installed by Mesa. 9### is now installed by Mesa.
10### 10###
11BUILDLINK_API_DEPENDS.driproto+= xf86driproto>=2.0.4 11BUILDLINK_API_DEPENDS.driproto+= xf86driproto>=2.0.4
12 12
13. include "../../mk/bsd.fast.prefs.mk" 13. include "../../mk/bsd.fast.prefs.mk"
14 14
@@ -42,18 +42,17 @@ CFLAGS+= -D__GLX_ALIGN64 @@ -42,18 +42,17 @@ CFLAGS+= -D__GLX_ALIGN64
42### the Mesa developers; alas, it obviously is not. 42### the Mesa developers; alas, it obviously is not.
43### 43###
44### XXX We need a reliable check for these functions. 44### XXX We need a reliable check for these functions.
45### 45###
46#/* NetBSD uses IEEE double precision. */ 46#/* NetBSD uses IEEE double precision. */
47CFLAGS.NetBSD+= -DDEFAULT_X86_FPU=0x127f 47CFLAGS.NetBSD+= -DDEFAULT_X86_FPU=0x127f
48### 48###
49#/* FreeBSD leaves some exceptions unmasked as well. */ 49#/* FreeBSD leaves some exceptions unmasked as well. */
50### 50###
51CFLAGS.FreeBSD+= -DDEFAULT_x86_FPU=0x1272 51CFLAGS.FreeBSD+= -DDEFAULT_x86_FPU=0x1272
52. endif 52. endif
53 53
54CFLAGS.FreeBSD+= -DUSE_NATIVE_LIBM_FUNCS 54CFLAGS.FreeBSD+= -DUSE_NATIVE_LIBM_FUNCS
55CFLAGS.Linux+= -DUSE_NATIVE_LIBM_FUNCS 
56CFLAGS.NetBSD+= -DUSE_NATIVE_LIBM_FUNCS 55CFLAGS.NetBSD+= -DUSE_NATIVE_LIBM_FUNCS
57CFLAGS.DragonFly+= -DUSE_NATIVE_LIBM_FUNCS 56CFLAGS.DragonFly+= -DUSE_NATIVE_LIBM_FUNCS
58 57
59.endif # GLX_CONFIG_MK 58.endif # GLX_CONFIG_MK