]> git.pld-linux.org Git - packages/freewrl.git/commitdiff
- for version 1.17.4
authorMichał 'Wolvverine' Panasiewicz <wolvverine@pld-linux.org>
Tue, 6 Jun 2006 00:45:46 +0000 (00:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    freewrl-system-js.patch -> 1.5

freewrl-system-js.patch

index 8489af07448e04bb7d917dde06ac6ad57df7639b..dcdb6fc849f6975e63c1675679fd59aa7b27fb47 100644 (file)
@@ -1,80 +1,5 @@
 --- FreeWRL-1.13/Makefile.PL.orig      2005-04-25 15:47:19.000000000 +0200
 +++ FreeWRL-1.13/Makefile.PL   2005-04-28 22:16:18.330867064 +0200
-@@ -76,8 +76,6 @@
- my $sitearchjsdir = "\$(INSTALLPRIVLIB)/auto/VRML/JS";
--my $jsdir = "js1.5/src";
--my $jsobjdir;
- my $BUILD_OPT;
- my $warnings_high = qq{-Wunreachable-code -Wshadow -Wcast-align};
-@@ -88,25 +86,11 @@
- my @inc;
- my @libs;
- my @ldflags;
--my @jsinc;
--my @jslibs;
--if ($VRML_CONFIG{PLATFORM} =~ /irix/i) {
--      $jsobjdir = "$jsdir/IRIX6.5";
--} elsif ($OS eq "Darwin") {
--      $jsobjdir = "$jsdir/Darwin_All";
--} elsif ($VRML_CONFIG{PLATFORM} =~ /sunos/i) {
--      $jsobjdir = "$jsdir/SunOS5.8";
--} else { ## linux used by default
--      $jsobjdir = "$jsdir/Linux_All";
--}
--
- if ($VRML_CONFIG{DEBUG} eq "on") {
--      $jsobjdir .= "_DBG.OBJ";
-       $BUILD_OPT = 0;
- } else {
--      $jsobjdir .= "_OPT.OBJ";
-       $BUILD_OPT = 1;
- }
-@@ -151,9 +135,8 @@
- }
- push @inc, $VRML_CONFIG{FREEWRL_INC},
--      "-I../JS/$jsobjdir", "-IJS/$jsobjdir", "-IJS/$jsdir", "-I../JS/$jsdir -ICFuncs";
--push @libs, $VRML_CONFIG{FREEWRL_LIBS}, "-L../JS/$jsobjdir", "-LJS/$jsobjdir", "-Lblib/arch/auto/VRML/VRMLFunc/", "-ljs";
--push @ldflags, $VRML_CONFIG{LDFLAGS}, "-LJS/$jsobjdir", "-Lblib/arch/auto/VRML/VRMLFunc/";
-+      "-I/usr/include/js", "-ICFuncs";
-+push @libs, $VRML_CONFIG{FREEWRL_LIBS}, "-ljs";
- # push build directory, for running standalone
-@@ -244,16 +227,6 @@
- print STDERR "Checking for the Mozilla JavaScript Reference library and application.\n";
--if (-e "JS/$jsobjdir/libjs.a" && -e "JS/$jsobjdir/libjs.so" && -e "JS/$jsobjdir/js") {
--    print STDERR "The Javascript library and application were found.\n";
--} else {
--    print STDERR "The Javascript library and application were not found - make them.\n";
--
--    chdir("JS/$jsdir");
--    system("make -f Makefile.ref BUILD_OPT=$BUILD_OPT");
--    chdir($pwd);
--}
--
- print "Done, now doing writeMakefile\n";
- use ExtUtils::MakeMaker;
-@@ -402,9 +375,8 @@
-               # Copy fonts over, etc.
-               push(@postamble, join(
-                                 "\n",
--                              qq{\# copy fonts, libjs.so over\n},
-+                              qq{\# copy fonts over\n},
-                               qq{\tcp -r fonts \$(DESTINSTALLPRIVLIB)/VRML\n},
--                              qq{\tcp JS/$jsobjdir/libjs.so \$(DESTDIR)$LIB_DIR\n},
-                               qq{\# copy copy the initialization file over\n},
-                               qq{\tcp CFrontEnd/fw2init.pl \$(DESTINSTALLPRIVLIB)/VRML\n},
-                               ));
 @@ -412,8 +384,6 @@
                        push(@postamble, join(
                                "\n",
This page took 0.067716 seconds and 4 git commands to generate.