Index: ossp-pkg/js/src/perlconnect/.cvsignore RCS File: /v/ossp/cvs/ossp-pkg/js/src/perlconnect/.cvsignore,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/perlconnect/.cvsignore,v' | diff -u /dev/null - -L'ossp-pkg/js/src/perlconnect/.cvsignore' 2>/dev/null --- ossp-pkg/js/src/perlconnect/.cvsignore +++ - 2025-04-05 07:54:01.254341325 +0200 @@ -0,0 +1,6 @@ +Makefile +Makefile.PL +blib +pm_to_blib +JS.bs +JS.c Index: ossp-pkg/js/src/perlconnect/JS.xs RCS File: /v/ossp/cvs/ossp-pkg/js/src/perlconnect/JS.xs,v rcsdiff -q -kk '-r1.1' '-r1.2' -u '/v/ossp/cvs/ossp-pkg/js/src/perlconnect/JS.xs,v' 2>/dev/null --- JS.xs 2005/11/25 08:16:37 1.1 +++ JS.xs 2006/07/22 15:09:45 1.2 @@ -61,7 +61,7 @@ #include #include "jsperlpvt.h" -#include +#include /* __REMOVE__ */ /* #include */ Index: ossp-pkg/js/src/perlconnect/Makefile.PL RCS File: /v/ossp/cvs/ossp-pkg/js/src/perlconnect/Attic/Makefile.PL,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/perlconnect/Attic/Makefile.PL,v' | diff -u - /dev/null -L'ossp-pkg/js/src/perlconnect/Makefile.PL' 2>/dev/null --- ossp-pkg/js/src/perlconnect/Makefile.PL +++ /dev/null 2025-04-05 07:53:53.000000000 +0200 @@ -1,67 +0,0 @@ -use ExtUtils::MakeMaker; - -use strict; -use Getopt::Std; - -my (%foo, $jsdir, $inc, $libpath); - -#m - build under mozilla tree -#d - specifies js build directory (with include/ and lib/ directories) -#c - build under charlie tree -getopts('mcd:', \%foo); - -$jsdir = $foo{d}; - -$foo{'m'} = 1 unless $foo{c} || $foo{d}; #mozilla tree is the default - -if ($foo{c}) { - $inc = "-I$ENV{CHARLIE_HOME}/include"; - $libpath = "-L$ENV{CHARLIE_HOME}/lib"; -} - -if ($jsdir) { - $inc = "-I$jsdir/include"; - $libpath = "-L$jsdir/lib -ljs"; -} - -my $tmpmk = <<'eof'; -DEPTH=.. -include ../config.mk - -all: - @echo '$(OBJDIR)' -eof - -if ($foo{'m'}) { - if ($^O eq "MSWin32") { - $inc = "-I.. -I../Debug"; #I'm not sure - $libpath = "-L../Debug"; - } else { #suppose unix, never Mac, gmake - open FOO, ">tempmakefile"; - print FOO $tmpmk; - close FOO; - my $objdir = `gmake -f tempmakefile`; - unlink "tempmakefile"; - $inc = "-I.. -I../$objdir"; - $libpath = "-L../$objdir"; - } -} - -my %extras = (); -my $define; - -if ($^O eq "MSWin32") { - $define = "-DXP_PC"; - $extras{OBJECT} = '$(BASEEXT)$(OBJ_EXT) jsperl.obj'; -} else { - $define = '-DXP_UNIX'; -} - -WriteMakefile(NAME => 'JS', - DEFINE => $define, - INC => $inc, - LIBS => "$libpath -ljs", - VERSION_FROM => 'JS.pm', - %extras,); - -__END__ Index: ossp-pkg/js/src/perlconnect/Makefile.PL.in RCS File: /v/ossp/cvs/ossp-pkg/js/src/perlconnect/Makefile.PL.in,v co -q -kk -p'1.1' '/v/ossp/cvs/ossp-pkg/js/src/perlconnect/Makefile.PL.in,v' | diff -u /dev/null - -L'ossp-pkg/js/src/perlconnect/Makefile.PL.in' 2>/dev/null --- ossp-pkg/js/src/perlconnect/Makefile.PL.in +++ - 2025-04-05 07:54:01.264588430 +0200 @@ -0,0 +1,11 @@ + +use ExtUtils::MakeMaker; + +WriteMakefile( + NAME => 'JS', + DEFINE => '-DXP_UNIX'; + INC => "-I..", + LIBS => "-L../../.libs -ljs @LIBS@", + VERSION_FROM => 'JS.pm', +); +