diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-10 23:23:02 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-10 23:23:02 +0000 |
commit | 7a1c38c7e967790e5745700e165ae1975c428899 (patch) | |
tree | fc8c403e872dbbf1831cba834558791d84947985 /graphics/MesaLib/buildlink3.mk | |
parent | c639fb3aad4c9553494f59a9e614e953b11872e1 (diff) | |
download | pkgsrc-7a1c38c7e967790e5745700e165ae1975c428899.tar.gz |
Don't pass the -DGLX_GLXEXT_LEGACY to the compiler if we're building
another bit of the Mesa package.
Diffstat (limited to 'graphics/MesaLib/buildlink3.mk')
-rw-r--r-- | graphics/MesaLib/buildlink3.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/graphics/MesaLib/buildlink3.mk b/graphics/MesaLib/buildlink3.mk index 6dffbbf455b..239219c88d0 100644 --- a/graphics/MesaLib/buildlink3.mk +++ b/graphics/MesaLib/buildlink3.mk @@ -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 @@ BUILDLINK_PREFIX.MesaLib= ${X11BASE} USE_X11= yes _MESA_REQD= ${_MESA_VERSION} . else +. if !defined(BUILDING_MESA) BUILDLINK_CPPFLAGS.MesaLib= -DGLX_GLXEXT_LEGACY +. endif . endif .endif # MESALIB_BUILDLINK3_MK |