pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/glut Detect native glut.
details: https://anonhg.NetBSD.org/pkgsrc/rev/fbddc9b5aa37
branches: trunk
changeset: 549963:fbddc9b5aa37
user: cube <cube%pkgsrc.org@localhost>
date: Tue Nov 11 16:17:07 2008 +0000
description:
Detect native glut.
diffstat:
graphics/glut/builtin.mk | 24 ++++++++++++++++++++++++
1 files changed, 24 insertions(+), 0 deletions(-)
diffs (28 lines):
diff -r 8fe69e9b697f -r fbddc9b5aa37 graphics/glut/builtin.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/graphics/glut/builtin.mk Tue Nov 11 16:17:07 2008 +0000
@@ -0,0 +1,24 @@
+# $NetBSD: builtin.mk,v 1.1 2008/11/11 16:17:07 cube Exp $
+
+BUILTIN_PKG:= glut
+PKGCONFIG_FILE.glut= ${X11BASE}/lib/pkgconfig/glut.pc
+
+.include "../../mk/buildlink3/pkgconfig-builtin.mk"
+
+.if !empty(USE_BUILTIN.glut:M[Yy][Ee][Ss])
+
+CHECK_BUILTIN.MesaLib:= yes
+CHECK_BUILTIN.glu:= yes
+. include "../../graphics/MesaLib/builtin.mk"
+. include "../../graphics/glu/builtin.mk"
+CHECK_BUILTIN.MesaLib:= no
+CHECK_BUILTIN.glu:= no
+
+. if !empty(USE_BUILTIN.MesaLib:M[Nn][Oo]) || \
+ !empty(USE_BUILTIN.glu:M[Nn][Oo])
+USE_BUILTIN.glut= no
+. endif
+
+.endif
+
+.include "../../mk/x11.builtin.mk"
Home |
Main Index |
Thread Index |
Old Index