mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Mesa - a 3-D graphics library similiar to OpenGL
This commit is contained in:
parent
21f759cdc5
commit
5871577329
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=908
23
graphics/Mesa3/Makefile
Normal file
23
graphics/Mesa3/Makefile
Normal file
@ -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>
|
1
graphics/Mesa3/distinfo
Normal file
1
graphics/Mesa3/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (Mesa-1.0beta.tar.Z) = 4b4ecf8c1cdd2556e9d059b9c6f883bb
|
16
graphics/Mesa3/files/patch-aa
Normal file
16
graphics/Mesa3/files/patch-aa
Normal file
@ -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
|
23
graphics/mesagl/Makefile
Normal file
23
graphics/mesagl/Makefile
Normal file
@ -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>
|
1
graphics/mesagl/distinfo
Normal file
1
graphics/mesagl/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (Mesa-1.0beta.tar.Z) = 4b4ecf8c1cdd2556e9d059b9c6f883bb
|
16
graphics/mesagl/files/patch-aa
Normal file
16
graphics/mesagl/files/patch-aa
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user