Perl OpenGL 0.56
Niko Tyni
ntyni at iki.fi
Wed Oct 31 18:58:08 UTC 2007
On Wed, Oct 31, 2007 at 08:56:46PM +0200, Niko Tyni wrote:
> > Send me your patch - I'll include it in the next release.
>
> Oh, it's trivial. Attached.
Argh, as usual, I forgot to attach it. Here we go.
Cheers,
--
Niko
-------------- next part --------------
--- libopengl-perl.orig/Makefile.PL
+++ libopengl-perl/Makefile.PL
@@ -36,7 +36,7 @@
unlink($exc_file) if (-e $exc_file);
# Only run this if GLUT is installed
-if ($found_libs->{GLUT})
+if ($found_libs->{GLUT} && !grep /NO_DISPLAY/, @ARGV)
{
my $glv_file = 'utils/glversion.txt';
--- libopengl-perl.orig/INSTALL
+++ libopengl-perl/INSTALL
@@ -31,6 +31,11 @@
(opengl32.dll and glut32.dll on Windows) - and that it will
be run via a GUI window (eg. X11 on Unix).
+ You can override the version and extension checks by supplying
+ the NO_DISPLAY argument to Makefile.PL, eg.
+
+ # perl Makefile.PL NO_DISPLAY
+
3. Run 'make' ('nmake' on Windows) to build OpenGL.pm.
4. Run 'make test' ('nmake test' on Windows) to test your
More information about the pkg-perl-maintainers
mailing list