"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Graphics/TriD/OpenGLQ/Makefile.PL" between
PDL-2.078.tar.gz and PDL-2.079.tar.gz

About: PDL (Perl Data Language) aims to turn perl into an efficient numerical language for scientific computing (similar to IDL and MatLab).

Makefile.PL  (PDL-2.078):Makefile.PL  (PDL-2.079)
skipping to change at line 15 skipping to change at line 15
my @pack = (["openglq.pd", qw(OpenGLQ PDL::Graphics::OpenGLQ)]); my @pack = (["openglq.pd", qw(OpenGLQ PDL::Graphics::OpenGLQ)]);
my %hash = pdlpp_stdargs_int(@pack); my %hash = pdlpp_stdargs_int(@pack);
$hash{LIBS}[0] = $OpenGL::Config->{LIBS} if $OpenGL::Config->{LIBS}; $hash{LIBS}[0] = $OpenGL::Config->{LIBS} if $OpenGL::Config->{LIBS};
$hash{DEFINE} .= ' '.$OpenGL::Config->{DEFINE} if $OpenGL::Config->{DEFINE}; $hash{DEFINE} .= ' '.$OpenGL::Config->{DEFINE} if $OpenGL::Config->{DEFINE};
$hash{INC} .= ' '.$OpenGL::Config->{INC} if $OpenGL::Config->{INC}; $hash{INC} .= ' '.$OpenGL::Config->{INC} if $OpenGL::Config->{INC};
if($^O eq 'MSWin32') { if($^O eq 'MSWin32') {
$hash{LDFROM} .= ' '. $OpenGL::Config->{LDFROM}; $hash{LDFROM} .= ' '. $OpenGL::Config->{LDFROM};
$hash{LDFROM} =~ s/\-lfreeglut//g; $hash{LDFROM} =~ s/\-lfreeglut//g;
$hash{DEFINE} .= ' -DGLUT_DISABLE_ATEXIT_HACK'; # else get errors about PerlPr oc_exit on at least Strawberry Perl 5.32
} }
${$hash{LIBS}}[0] .= ' -lm'; ${$hash{LIBS}}[0] .= ' -lm';
undef &MY::postamble; # suppress warning undef &MY::postamble; # suppress warning
*MY::postamble = sub { *MY::postamble = sub {
pdlpp_postamble_int(@pack); pdlpp_postamble_int(@pack);
}; };
WriteMakefile(%hash); WriteMakefile(%hash);
 End of changes. 1 change blocks. 
0 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)