diff options
author | jlam <jlam@pkgsrc.org> | 2004-01-24 01:53:00 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-01-24 01:53:00 +0000 |
commit | 42567b9fa4c222eb88d454c88b7ac14b6b7c51b5 (patch) | |
tree | 9dce97f9a511d9c99fd6343bd4361539d061af2c | |
parent | 6dd299ffdfdf6015223ba032e121234d7e4375cc (diff) | |
download | pkgsrc-42567b9fa4c222eb88d454c88b7ac14b6b7c51b5.tar.gz |
If we use the XFree86-supplied GL and GLU libraries, then we are using X11.
-rw-r--r-- | graphics/MesaLib/buildlink3.mk | 3 | ||||
-rw-r--r-- | graphics/glu/buildlink3.mk | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/graphics/MesaLib/buildlink3.mk b/graphics/MesaLib/buildlink3.mk index a6de4793bc4..71c0ceb0572 100644 --- a/graphics/MesaLib/buildlink3.mk +++ b/graphics/MesaLib/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.11 2004/01/05 11:05:45 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.12 2004/01/24 01:53:00 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ MESALIB_BUILDLINK3_MK:= ${MESALIB_BUILDLINK3_MK}+ @@ -73,6 +73,7 @@ BUILDLINK_DEPENDS+= MesaLib .if !empty(MESALIB_BUILDLINK3_MK:M+) . if !empty(BUILDLINK_USE_BUILTIN.MesaLib:M[yY][eE][sS]) BUILDLINK_PREFIX.MesaLib= ${X11BASE} +USE_X11= yes . else BUILDLINK_CPPFLAGS.MesaLib= -DGLX_GLXEXT_LEGACY . endif diff --git a/graphics/glu/buildlink3.mk b/graphics/glu/buildlink3.mk index f8f710fc13d..1ba14096f9b 100644 --- a/graphics/glu/buildlink3.mk +++ b/graphics/glu/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.9 2004/01/05 11:05:45 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.10 2004/01/24 01:53:00 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ GLU_BUILDLINK3_MK:= ${GLU_BUILDLINK3_MK}+ @@ -72,6 +72,7 @@ BUILDLINK_DEPENDS+= glu .if !empty(GLU_BUILDLINK3_MK:M+) . if !empty(BUILDLINK_USE_BUILTIN.glu:M[yY][eE][sS]) BUILDLINK_PREFIX.glu= ${X11BASE} +USE_X11= yes . endif .endif # GLU_BUILDLINK3_MK |