summaryrefslogtreecommitdiff
path: root/graphics/glu
diff options
context:
space:
mode:
authorjlam <jlam>2006-08-01 21:40:19 +0000
committerjlam <jlam>2006-08-01 21:40:19 +0000
commit0d5fb9cfa708793b0bcce213d5e02d0573809fbd (patch)
tree73431f86ad963ea226431316d9e99d95b7beb0c3 /graphics/glu
parent1cdb7454e6e84f525dbb9ad71685a2560a161484 (diff)
downloadpkgsrc-0d5fb9cfa708793b0bcce213d5e02d0573809fbd.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/glu')
-rw-r--r--graphics/glu/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/graphics/glu/Makefile b/graphics/glu/Makefile
index 7678e65ee00..86f76cb6240 100644
--- a/graphics/glu/Makefile
+++ b/graphics/glu/Makefile
@@ -1,14 +1,12 @@
-# $NetBSD: Makefile,v 1.46 2006/05/08 17:22:51 hira Exp $
+# $NetBSD: Makefile,v 1.47 2006/08/01 21:40:20 jlam Exp $
-PKGNAME= ${DISTNAME:C/MesaLib/glu/}
+PKGNAME= glu-${MESA_VERSION}
COMMENT= GLU polygon tessellation facility for Mesa
CONFLICTS+= Mesa-glx-[0-9]*
CONFLICTS+= Mesa<3.2.1
-USE_LANGUAGES= c c++
-
-.include "../../graphics/Mesa/Makefile.common"
+.include "../../graphics/Mesa/Makefile.lib"
INSTLIBS= ${WRKSRC}/src/glu/sgi/libGLU.la