summaryrefslogtreecommitdiff
path: root/graphics/glut
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2009-06-11 07:23:24 +0000
committerwiz <wiz@pkgsrc.org>2009-06-11 07:23:24 +0000
commit4e079ac1d291ff86969b4825ee80c5310908a8e6 (patch)
tree460c57b4361dfc31fc242270f5540015f7e9dc73 /graphics/glut
parent0450b66c3a8bde9f0fc8e6a6c58be1ff39b9953b (diff)
downloadpkgsrc-4e079ac1d291ff86969b4825ee80c5310908a8e6.tar.gz
Fix .pc file. Bump PKGREVISION.
Diffstat (limited to 'graphics/glut')
-rw-r--r--graphics/glut/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/graphics/glut/Makefile b/graphics/glut/Makefile
index 9e64f1b33e3..77a13c40b63 100644
--- a/graphics/glut/Makefile
+++ b/graphics/glut/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.50 2008/04/24 07:40:24 bjs Exp $
+# $NetBSD: Makefile,v 1.51 2009/06/11 07:23:24 wiz Exp $
PKGNAME= glut-${MESA_PKGVERSION}
+PKGREVISION= 1
COMMENT= GLUT Graphics library similar to SGI's OpenGL
CONFLICTS+= Mesa-glx-[0-9]*
@@ -8,6 +9,10 @@ CONFLICTS+= Mesa<3.2.1
MESA_HEADERS= glut.h glutf90.h
+PKGCONFIG_OVERRIDE+= src/glut/glx/glut.pc.in
+# no configure stage
+PKGCONFIG_OVERRIDE_STAGE= pre-build
+
.include "../../graphics/Mesa/Makefile.lib"
BUILDLINK_API_DEPENDS.MesaLib+= MesaLib>=${MESA_PKGVERSION}
@@ -23,4 +28,6 @@ pre-build:
### XXX why is this needed?
mkdir -p ${WRKSRC}/src/glut/lib
+# no configure phase
+.include "../../mk/configure/pkg-config-override.mk"
.include "../../mk/bsd.pkg.mk"