diff options
author | jlam <jlam> | 2004-02-10 23:23:02 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-02-10 23:23:02 +0000 |
commit | f2e0ca00581d530a5fd8d958db89c10156dae92e (patch) | |
tree | fc8c403e872dbbf1831cba834558791d84947985 /graphics | |
parent | 8acc4ca7221622ba9afa914d4da90aaa9ec84f07 (diff) | |
download | pkgsrc-f2e0ca00581d530a5fd8d958db89c10156dae92e.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')
-rw-r--r-- | graphics/Mesa/Makefile.common | 3 | ||||
-rw-r--r-- | graphics/MesaLib/buildlink3.mk | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/graphics/Mesa/Makefile.common b/graphics/Mesa/Makefile.common index 623a2f364bc..cd995e0d31a 100644 --- a/graphics/Mesa/Makefile.common +++ b/graphics/Mesa/Makefile.common @@ -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 @@ ALL_TARGET= pkgsrc USE_LIBTOOL= yes USE_X11= yes +BUILDING_MESA= yes NO_CONFIGURE= yes DIST_SUBDIR= Mesa-${MESA_VERSION} PATCHDIR?= ${.CURDIR}/../../graphics/MesaLib/patches 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 |