summaryrefslogtreecommitdiff
path: root/graphics/glut
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2006-08-01 21:40:19 +0000
committerjlam <jlam@pkgsrc.org>2006-08-01 21:40:19 +0000
commit396fe8e4c88f5a952574e3118cfdc3932d0bc247 (patch)
tree73431f86ad963ea226431316d9e99d95b7beb0c3 /graphics/glut
parent74239163b54830b0c5ea219978322486b1ab12bb (diff)
downloadpkgsrc-396fe8e4c88f5a952574e3118cfdc3932d0bc247.tar.gz
Split Mesa/Makefile.common into Makefile.common and Makefile.lib.
The latter is used by packages that build libraries from the Mesa sources, while the former is only if the package builds from the Mesa sources. Modify the various Mesa packages to include the proper Makefile, and add some documentation to the Makefiles. As a side effect, this suppresses the "duplicate target" warning in graphics/glx-utils that was caused by having the same distfile listed in DISTFILES more than once.
Diffstat (limited to 'graphics/glut')
-rw-r--r--graphics/glut/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/graphics/glut/Makefile b/graphics/glut/Makefile
index 541b1291d98..94264deebc6 100644
--- a/graphics/glut/Makefile
+++ b/graphics/glut/Makefile
@@ -1,15 +1,15 @@
-# $NetBSD: Makefile,v 1.44 2006/04/06 06:22:02 reed Exp $
+# $NetBSD: Makefile,v 1.45 2006/08/01 21:40:20 jlam Exp $
-PKGNAME= ${DISTNAME:S/MesaLib/glut/}
+PKGNAME= glut-${MESA_VERSION}
COMMENT= GLUT Graphics library similar to SGI's OpenGL
CONFLICTS+= Mesa-glx-[0-9]*
CONFLICTS+= Mesa<3.2.1
-.include "../../graphics/Mesa/Makefile.common"
+.include "../../graphics/Mesa/Makefile.lib"
BUILDLINK_API_DEPENDS.MesaLib+= MesaLib>=${MESA_VERSION}
-BUILDLINK_API_DEPENDS.glu+= glu>=${MESA_VERSION}
+BUILDLINK_API_DEPENDS.glu+= glu>=${MESA_VERSION}
INSTLIBS= ${WRKSRC}/src/glut/glx/libglut.la