mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
- Update to 0.66
- While I'm here, add missing trailing slash to WWW Changes: http://search.cpan.org/dist/OpenGL/Release_Notes PR: ports/161534 Submitted by: Zhihao Yuan <lichray@gmail.com> Feature safe: yes
This commit is contained in:
parent
1c17beb762
commit
bfa56b3a7e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=286897
@ -7,20 +7,25 @@
|
||||
#
|
||||
|
||||
PORTNAME= OpenGL
|
||||
PORTVERSION= 0.54
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 0.66
|
||||
CATEGORIES= graphics perl5
|
||||
MASTER_SITES= CPAN
|
||||
MASTER_SITE_SUBDIR= CPAN:ILYAZ/modules
|
||||
MASTER_SITE_SUBDIR= CPAN:CHM
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= perl@FreeBSD.org
|
||||
COMMENT= Perl module to display 3D data using OpenGL, GLU, GLUT, and GLX
|
||||
|
||||
USE_GL= glut
|
||||
CONFIGURE_ARGS= interface=GLUT
|
||||
PERL_CONFIGURE= yes
|
||||
USE_DISPLAY= yes
|
||||
USE_GL= glut
|
||||
|
||||
MAN3= Array.3 \
|
||||
OpenGL.3 \
|
||||
Tessellation.3
|
||||
|
||||
post-patch:
|
||||
@${PERL} -pi -e "s|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|g; s|/usr/X11R6|${LOCALBASE}|g" ${WRKSRC}/Makefile.PL
|
||||
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' ${WRKSRC}/Makefile.PL
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (OpenGL-0.54.tar.gz) = 7a7969c77518b95f8c58c8f1dfe91dc550306a8beeb21586c3beffb23a850758
|
||||
SIZE (OpenGL-0.54.tar.gz) = 158462
|
||||
SHA256 (OpenGL-0.66.tar.gz) = 8837bf244d41e415e9ef05bece8fb60861293389d96a4115f0a64929650627df
|
||||
SIZE (OpenGL-0.66.tar.gz) = 611606
|
||||
|
@ -1,23 +0,0 @@
|
||||
--- Makefile.PL.orig Wed Jun 20 08:39:13 2001
|
||||
+++ Makefile.PL Tue Dec 14 18:36:26 2004
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
$pm_lib = (grep /^X11$/, @ARGV) ? '' : '-lopengl';
|
||||
|
||||
-$libs = "-lGLU -lGLUT -lGLX $pm_lib -lMesaGLU -lMesaGLUT -lMesaGLX -lglut";
|
||||
+$libs = "-lglut %%PTHREAD_LIBS%%";
|
||||
|
||||
@libs = findlib->ext("$libdirs $libs");
|
||||
|
||||
@@ -75,6 +75,11 @@
|
||||
|
||||
$DEFS .= ' -DOS2_GL_DISABLE_MISSING_EXT -DAPIENTRY= -D__PM__'
|
||||
if $^O eq 'os2' and not $x;
|
||||
+
|
||||
+# Check for GL extensions header (glext.h)
|
||||
+$glextout = `echo '\#include <GL/glext.h>' | $Config{cpprun} $includes $Config{cppflags} $Config{cppminus} >/dev/null 2>&1`;
|
||||
+$no_glext = $?;
|
||||
+$DEFS .= " -DHAVE_GLEXT_H" unless $no_glext;
|
||||
|
||||
# Should be deduced automatically, but how?!
|
||||
$no_lgcc = (grep /^NO_LGCC$/, @ARGV);
|
@ -1,15 +1,6 @@
|
||||
--- gl_util.c.orig Wed Jun 20 09:03:02 2001
|
||||
+++ gl_util.c Tue Dec 14 18:41:08 2004
|
||||
@@ -1,5 +1,8 @@
|
||||
|
||||
#include "gl_util.h"
|
||||
+#if defined(HAVE_GLEXT_H) && !defined(GL_BLEND_EQUATION_EXT)
|
||||
+#include <GL/glext.h>
|
||||
+#endif
|
||||
|
||||
int gl_texparameter_count(GLenum pname)
|
||||
{
|
||||
@@ -708,6 +711,12 @@
|
||||
--- gl_util.c.orig 2011-07-07 08:39:22.000000000 -0500
|
||||
+++ gl_util.c 2011-10-12 22:09:31.520959086 -0500
|
||||
@@ -756,6 +756,12 @@ int gl_component_count(GLenum format, GL
|
||||
|
||||
/* 18 */
|
||||
#ifdef GL_EXT_cmyka
|
||||
|
@ -3,4 +3,4 @@ Some amount of GLU is supported (I'm not quite sure what version it works
|
||||
out to), and GLUT should be completely supported up to API version 3. A
|
||||
small portion of GLX and X11 is supported, as an alternative to GLUT.
|
||||
|
||||
WWW: http://search.cpan.org/dist/OpenGL
|
||||
WWW: http://search.cpan.org/dist/OpenGL/
|
||||
|
@ -1,6 +1,11 @@
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/OpenGL.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/OpenGL.pod
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/OpenGL/Array.pod
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/OpenGL/Config.pm
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/OpenGL/Tessellation.pod
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/OpenGL/.packlist
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/OpenGL/OpenGL.bs
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/OpenGL/OpenGL.so
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/OpenGL/autosplit.ix
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/auto/OpenGL/.packlist
|
||||
%%SITE_PERL%%/%%PERL_ARCH%%/OpenGL.pm
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/OpenGL
|
||||
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/OpenGL
|
||||
|
Loading…
Reference in New Issue
Block a user