diff options
author | jlam <jlam> | 2002-11-17 08:37:20 +0000 |
---|---|---|
committer | jlam <jlam> | 2002-11-17 08:37:20 +0000 |
commit | 10c70866d58aa0b6edb481a6c90d2c2dff1373b5 (patch) | |
tree | 7d382b79ce11bf80d76b65f48e3a6d89f1558d1e | |
parent | 64ea1352178d5742d8ed38d34e91d52797ea2f9f (diff) | |
download | pkgsrc-10c70866d58aa0b6edb481a6c90d2c2dff1373b5.tar.gz |
glut requires MesaLib headers in order to build.
-rw-r--r-- | graphics/glut/Makefile | 3 | ||||
-rw-r--r-- | graphics/glut/buildlink2.mk | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/graphics/glut/Makefile b/graphics/glut/Makefile index 2178456ee7b..a95151955c2 100644 --- a/graphics/glut/Makefile +++ b/graphics/glut/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.13 2002/10/30 15:15:16 seb Exp $ +# $NetBSD: Makefile,v 1.14 2002/11/17 08:37:20 jlam Exp $ PKGNAME= ${DISTNAME:S/MesaLib/glut/} DISTFILES= ${DISTNAME}${EXTRACT_SUFX} @@ -25,4 +25,5 @@ post-install: ${INSTALL_DATA} $${hdr} ${PREFIX}/include/GL; \ done +.include "../../graphics/MesaLib/buildlink2.mk" .include "../../mk/bsd.pkg.mk" diff --git a/graphics/glut/buildlink2.mk b/graphics/glut/buildlink2.mk index 6c63333988b..493e2b76ad8 100644 --- a/graphics/glut/buildlink2.mk +++ b/graphics/glut/buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink2.mk,v 1.2 2002/08/25 18:39:08 jlam Exp $ +# $NetBSD: buildlink2.mk,v 1.3 2002/11/17 08:37:20 jlam Exp $ .if !defined(GLUT_BUILDLINK2_MK) GLUT_BUILDLINK2_MK= # defined @@ -13,6 +13,8 @@ BUILDLINK_FILES.glut= include/GL/glut.h BUILDLINK_FILES.glut+= include/GL/glutf90.h BUILDLINK_FILES.glut+= lib/libglut.* +.include "../../graphics/MesaLib/buildlink2.mk" + BUILDLINK_TARGETS+= glut-buildlink glut-buildlink: _BUILDLINK_USE |