summaryrefslogtreecommitdiff
path: root/graphics/Mesa/Makefile
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-07-15 15:51:42 +0000
committeragc <agc@pkgsrc.org>1999-07-15 15:51:42 +0000
commit38d7c2f09a5b29501a6e3e5568e96ec185d82f4e (patch)
tree78b04379c4019d93049c5bf9a3bc334ffd387b07 /graphics/Mesa/Makefile
parentbb37b7e7809fd2463d38779fabb8c2f00a84496b (diff)
downloadpkgsrc-38d7c2f09a5b29501a6e3e5568e96ec185d82f4e.tar.gz
Make this package work on Solaris.
Diffstat (limited to 'graphics/Mesa/Makefile')
-rw-r--r--graphics/Mesa/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/graphics/Mesa/Makefile b/graphics/Mesa/Makefile
index 9e8382a90e7..9818d484ed2 100644
--- a/graphics/Mesa/Makefile
+++ b/graphics/Mesa/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 1999/04/14 20:01:42 garbled Exp $
+# $NetBSD: Makefile,v 1.25 1999/07/15 15:51:42 agc Exp $
#
DISTNAME= MesaLib-3.0
@@ -14,13 +14,19 @@ MAINTAINER= mycroft@netbsd.org
HOMEPAGE= http://www.ssec.wisc.edu/~brianp/Mesa.html
WRKSRC= ${WRKDIR}/${PKGNAME}
-ALL_TARGET= netbsd
+ALL_TARGET= ${LOWER_OPSYS}
USE_X11BASE= yes
MESA_LIBS= libMesaGL libMesaGLU
MESA_VERSION= 3.0
GLUT_LIBS= libglut
GLUT_VERSION= 3.7
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "SunOS"
+ALL_TARGET= sunos5-gcc
+.endif
+
post-extract:
@chmod +r ${WRKSRC}/demos/*
@find ${WRKSRC} -type f -name "*~" | xargs ${RM} -f