pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics Don't pass the -DGLX_GLXEXT_LEGACY to the com...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a37cfac0c4d7
branches:  trunk
changeset: 468157:a37cfac0c4d7
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Tue Feb 10 23:23:02 2004 +0000

description:
Don't pass the -DGLX_GLXEXT_LEGACY to the compiler if we're building
another bit of the Mesa package.

diffstat:

 graphics/Mesa/Makefile.common  |  3 ++-
 graphics/MesaLib/buildlink3.mk |  4 +++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diffs (36 lines):

diff -r abba2af6e5d1 -r a37cfac0c4d7 graphics/Mesa/Makefile.common
--- a/graphics/Mesa/Makefile.common     Tue Feb 10 23:10:38 2004 +0000
+++ b/graphics/Mesa/Makefile.common     Tue Feb 10 23:23:02 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.25 2004/02/07 23:00:14 minskim Exp $
+# $NetBSD: Makefile.common,v 1.26 2004/02/10 23:23:02 jlam Exp $
 #
 
 DISTNAME=      MesaLib-${MESA_VERSION}
@@ -18,6 +18,7 @@
 USE_LIBTOOL=           yes
 USE_X11=               yes
 
+BUILDING_MESA=         yes
 NO_CONFIGURE=          yes
 DIST_SUBDIR=           Mesa-${MESA_VERSION}
 PATCHDIR?=             ${.CURDIR}/../../graphics/MesaLib/patches
diff -r abba2af6e5d1 -r a37cfac0c4d7 graphics/MesaLib/buildlink3.mk
--- a/graphics/MesaLib/buildlink3.mk    Tue Feb 10 23:10:38 2004 +0000
+++ b/graphics/MesaLib/buildlink3.mk    Tue Feb 10 23:23:02 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.20 2004/02/10 22:42:56 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.21 2004/02/10 23:23:02 jlam Exp $
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 MESALIB_BUILDLINK3_MK:=        ${MESALIB_BUILDLINK3_MK}+
@@ -85,7 +85,9 @@
 USE_X11=                       yes
 _MESA_REQD=                    ${_MESA_VERSION}
 .  else
+.    if !defined(BUILDING_MESA)
 BUILDLINK_CPPFLAGS.MesaLib=    -DGLX_GLXEXT_LEGACY
+.    endif
 .  endif
 .endif # MESALIB_BUILDLINK3_MK
 



Home | Main Index | Thread Index | Old Index