summaryrefslogtreecommitdiff
path: root/graphics/glut
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-01-05 11:42:20 +0000
committerjlam <jlam@pkgsrc.org>2004-01-05 11:42:20 +0000
commit580a53de351a13d5c917d9bf74282f35055b092c (patch)
treebe56ee37627e1fc778cfd9afe479c60f26d2397a /graphics/glut
parent22645a942c3cf747d39da0c5df868d1da154e9d0 (diff)
downloadpkgsrc-580a53de351a13d5c917d9bf74282f35055b092c.tar.gz
bl3ify
Diffstat (limited to 'graphics/glut')
-rw-r--r--graphics/glut/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/graphics/glut/Makefile b/graphics/glut/Makefile
index 97c72f30e0c..648e7378da7 100644
--- a/graphics/glut/Makefile
+++ b/graphics/glut/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2003/11/28 18:41:03 jschauma Exp $
+# $NetBSD: Makefile,v 1.24 2004/01/05 11:47:33 jlam Exp $
PKGNAME= ${DISTNAME:S/MesaLib/glut/}
PKGREVISION= 3
@@ -11,10 +11,12 @@ COMMENT= GLUT Graphics library similar to SGI's OpenGL
CONFLICTS+= Mesa-glx-[0-9]*
CONFLICTS+= Mesa<3.2.1
+PKG_INSTALLATION_TYPES= overwrite pkgviews
+
.include "../../graphics/Mesa/Makefile.common"
-USE_BUILDLINK2= yes
-USE_X11BASE= yes
+USE_BUILDLINK3= yes
+USE_X11= yes
CONFIGURE_DIRS= ${WRKSRC}
BUILD_DIRS= ${WRKSRC}/src-glut
USE_LIBTOOL= yes
@@ -28,10 +30,6 @@ post-install:
${INSTALL_DATA} $${hdr} ${PREFIX}/include/GL; \
done
-.include "../../graphics/MesaLib/buildlink2.mk"
-.include "../../graphics/glu/buildlink2.mk"
+.include "../../graphics/MesaLib/buildlink3.mk"
+.include "../../graphics/glu/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
-
-# must be below bsd.pkg.mk to overwrite values
-PREFIX= ${LOCALBASE}
-X11PREFIX= ${LOCALBASE}