1 Don't check current display for extensions, build all.
3 diff -up OpenGL-0.62/Makefile.PL.dist OpenGL-0.62/Makefile.PL
4 --- OpenGL-0.62/Makefile.PL.dist 2009-12-11 01:10:00.000000000 +0100
5 +++ OpenGL-0.62/Makefile.PL 2010-01-07 13:00:26.000000000 +0100
6 @@ -579,9 +579,9 @@ my $build_config =
10 - "utils/glversion.txt ".
11 - "utils/glversion$Config{exe_ext} ".
12 - "utils/glversion$Config{obj_ext}"
13 + "utils/glversion.txt "
14 + #"utils/glversion$Config{exe_ext} ".
15 + #"utils/glversion$Config{obj_ext}"
19 @@ -790,6 +790,7 @@ sub get_extensions
20 print "GLUT not found\n";
24 # Platform-specific makefiles for glversion
27 @@ -848,7 +849,9 @@ sub get_extensions
28 print "get_extensions: no extensions found in $glv_file\n" if $verbose;
36 # Parse glext_procs.h file
37 return '' if (!open(GLEXT,"glext_procs.h"));
38 @@ -867,10 +870,12 @@ sub get_extensions
41 die "Unable to write to $exc_file\n" if (!open(GLEXC,">$exc_file"));
43 print GLEXC "// OpenGL Extension Exclusions - may be modified before building.\n";
45 print GLEXC "// Generated for ".$gldata->{VENDOR}.", ".$gldata->{RENDERER}."\n";
46 print GLEXC "// OpenGL v".$gldata->{VERSION}.", using ";
49 # Fix GLUT flags based on results
50 if ($gldata->{GLUT} > 0)