summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorJeffrey Hsu <hsu@FreeBSD.org>1995-02-07 21:58:10 +0000
committerJeffrey Hsu <hsu@FreeBSD.org>1995-02-07 21:58:10 +0000
commit587157732997ec1c7f89d997c3c2bb8bac28b5c1 (patch)
treeeb45b6bb139fd20ba47a2b261f24ca1b93cf4ca3 /graphics
parentUpgrade to 3.10a (bugfix release) (diff)
Mesa - a 3-D graphics library similiar to OpenGL
Notes
Notes: svn path=/head/; revision=908
Diffstat (limited to 'graphics')
-rw-r--r--graphics/Mesa3/Makefile23
-rw-r--r--graphics/Mesa3/distinfo1
-rw-r--r--graphics/Mesa3/files/patch-aa16
-rw-r--r--graphics/mesagl/Makefile23
-rw-r--r--graphics/mesagl/distinfo1
-rw-r--r--graphics/mesagl/files/patch-aa16
6 files changed, 80 insertions, 0 deletions
diff --git a/graphics/Mesa3/Makefile b/graphics/Mesa3/Makefile
new file mode 100644
index 000000000000..2eb6ad0c9f47
--- /dev/null
+++ b/graphics/Mesa3/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: Mesa
+# Version required: 1.0beta
+# Date created: Tue Feb 7 12:02:49 1995
+# Whom: hsu
+#
+# $Id$
+#
+
+DISTNAME= Mesa-1.0beta
+EXTRACT_SUFX= .tar.Z
+MASTER_SITES= ftp://iris.ssec.wisc.edu/pub/misc/
+WRKSRC= ${WRKDIR}/Mesa
+ALL_TARGET= freebsd
+# won't install until I convert the Makefiles to Imakefiles
+NO_INSTALL= yes
+
+# won't need this after I convert the Makefiles to Imakefiles
+pre-build:
+ if [ ! -e /usr/include/X11 ]; then \
+ ln -s /usr/X11R6/include/X11 /usr/include; \
+ fi
+
+.include <bsd.port.mk>
diff --git a/graphics/Mesa3/distinfo b/graphics/Mesa3/distinfo
new file mode 100644
index 000000000000..5b08c4f99303
--- /dev/null
+++ b/graphics/Mesa3/distinfo
@@ -0,0 +1 @@
+MD5 (Mesa-1.0beta.tar.Z) = 4b4ecf8c1cdd2556e9d059b9c6f883bb
diff --git a/graphics/Mesa3/files/patch-aa b/graphics/Mesa3/files/patch-aa
new file mode 100644
index 000000000000..1b4d82812778
--- /dev/null
+++ b/graphics/Mesa3/files/patch-aa
@@ -0,0 +1,16 @@
+*** samples/speed.c.0 Fri Jan 27 18:41:09 1995
+--- samples/speed.c Sun Feb 5 15:43:42 1995
+***************
+*** 122,128 ****
+--- 122,132 ----
+ clock_t clk;
+
+ clk = times(&tm);
++ #ifdef __FreeBSD__
++ return (double) clk / (double) sysconf(_SC_CLK_TCK);
++ #else
+ return (double)clk / (double)HZ;
++ #endif
+ #else
+ return 0;
+ #endif
diff --git a/graphics/mesagl/Makefile b/graphics/mesagl/Makefile
new file mode 100644
index 000000000000..2eb6ad0c9f47
--- /dev/null
+++ b/graphics/mesagl/Makefile
@@ -0,0 +1,23 @@
+# New ports collection makefile for: Mesa
+# Version required: 1.0beta
+# Date created: Tue Feb 7 12:02:49 1995
+# Whom: hsu
+#
+# $Id$
+#
+
+DISTNAME= Mesa-1.0beta
+EXTRACT_SUFX= .tar.Z
+MASTER_SITES= ftp://iris.ssec.wisc.edu/pub/misc/
+WRKSRC= ${WRKDIR}/Mesa
+ALL_TARGET= freebsd
+# won't install until I convert the Makefiles to Imakefiles
+NO_INSTALL= yes
+
+# won't need this after I convert the Makefiles to Imakefiles
+pre-build:
+ if [ ! -e /usr/include/X11 ]; then \
+ ln -s /usr/X11R6/include/X11 /usr/include; \
+ fi
+
+.include <bsd.port.mk>
diff --git a/graphics/mesagl/distinfo b/graphics/mesagl/distinfo
new file mode 100644
index 000000000000..5b08c4f99303
--- /dev/null
+++ b/graphics/mesagl/distinfo
@@ -0,0 +1 @@
+MD5 (Mesa-1.0beta.tar.Z) = 4b4ecf8c1cdd2556e9d059b9c6f883bb
diff --git a/graphics/mesagl/files/patch-aa b/graphics/mesagl/files/patch-aa
new file mode 100644
index 000000000000..1b4d82812778
--- /dev/null
+++ b/graphics/mesagl/files/patch-aa
@@ -0,0 +1,16 @@
+*** samples/speed.c.0 Fri Jan 27 18:41:09 1995
+--- samples/speed.c Sun Feb 5 15:43:42 1995
+***************
+*** 122,128 ****
+--- 122,132 ----
+ clock_t clk;
+
+ clk = times(&tm);
++ #ifdef __FreeBSD__
++ return (double) clk / (double) sysconf(_SC_CLK_TCK);
++ #else
+ return (double)clk / (double)HZ;
++ #endif
+ #else
+ return 0;
+ #endif