]>
Commit | Line | Data |
---|---|---|
5729ed85 JR |
1 | diff -urNp -x '*.orig' OpenGL-0.6704.org/Makefile.PL OpenGL-0.6704/Makefile.PL |
2 | --- OpenGL-0.6704.org/Makefile.PL 2014-05-12 19:15:25.000000000 +0200 | |
3 | +++ OpenGL-0.6704/Makefile.PL 2021-05-07 23:27:31.143268173 +0200 | |
4 | @@ -596,9 +596,9 @@ my $build_config = | |
7e3501ab JR |
5 | { |
6 | FILES => | |
7 | "Config.pm ". | |
8 | - "utils/glversion.txt ". | |
9 | - "utils/glversion$Config{exe_ext} ". | |
10 | - "utils/glversion$Config{obj_ext}" | |
11 | + "utils/glversion.txt " | |
12 | + #"utils/glversion$Config{exe_ext} ". | |
13 | + #"utils/glversion$Config{obj_ext}" | |
14 | } | |
15 | }; | |
16 | ||
5729ed85 | 17 | @@ -814,6 +814,7 @@ sub get_extensions |
7e3501ab JR |
18 | print "GLUT not found\n"; |
19 | } | |
20 | ||
21 | +=cut | |
22 | # Platform-specific makefiles for glversion | |
23 | my $make_ver; | |
5729ed85 JR |
24 | if ($IS_STRAWBERRY) |
25 | @@ -876,7 +877,9 @@ sub get_extensions | |
7e3501ab JR |
26 | print "get_extensions: no extensions found in $glv_file\n" if $verbose; |
27 | return ''; | |
28 | } | |
29 | - | |
30 | +=cut | |
31 | + use Config; | |
32 | + my $gldata = { }; | |
33 | ||
34 | # Parse glext_procs.h file | |
35 | return '' if (!open(GLEXT,"glext_procs.h")); | |
5729ed85 | 36 | @@ -895,10 +898,12 @@ sub get_extensions |
7e3501ab JR |
37 | |
38 | # Create gl_exclude.h | |
39 | die "Unable to write to $exc_file\n" if (!open(GLEXC,">$exc_file")); | |
40 | +=cut | |
41 | print GLEXC "// OpenGL Extension Exclusions - may be modified before building.\n"; | |
42 | print GLEXC "//\n"; | |
43 | print GLEXC "// Generated for ".$gldata->{VENDOR}.", ".$gldata->{RENDERER}."\n"; | |
44 | print GLEXC "// OpenGL v".$gldata->{VERSION}.", using "; | |
45 | +=cut | |
46 | ||
47 | # Fix GLUT flags based on results | |
48 | if ($gldata->{GLUT} > 0) |