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 | 311f55636c885d64ea26ea0b172cd3d4899db148 (patch) | |
tree | fc8c403e872dbbf1831cba834558791d84947985 /graphics/MesaLib | |
parent | 38d67ed4d340dbbe13795226aad58e8702f79f6a (diff) | |
download | pkgsrc-311f55636c885d64ea26ea0b172cd3d4899db148.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')
-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 |