jasons 2002/08/27 12:51:36 Modified: perl Makefile.PL Log: * Makefile.PL (Repository): new version (2.0) removed -package from SWIG line Revision Changes Path 1.32 +6 -6 xml-xerces/perl/Makefile.PL Index: Makefile.PL =================================================================== RCS file: /home/cvs/xml-xerces/perl/Makefile.PL,v retrieving revision 1.31 retrieving revision 1.32 diff -u -r1.31 -r1.32 --- Makefile.PL 25 Apr 2002 06:27:25 -0000 1.31 +++ Makefile.PL 27 Aug 2002 19:51:36 -0000 1.32 @@ -120,15 +120,15 @@ # We need to know which version of libxerces we are to use. # As of Xerces-C 1.5.1, minor version numbers are used -my $XERCES_MAJOR_VERSION = '1.7'; +my $XERCES_MAJOR_VERSION = '2.0'; my $XERCES_MINOR_VERSION = '0'; my $XERCES_LIB_VERSION = "$XERCES_MAJOR_VERSION.$XERCES_MINOR_VERSION"; -my $XERCES_PERL_VERSION = $XERCES_LIB_VERSION . '-1'; +my $XERCES_PERL_VERSION = $XERCES_LIB_VERSION . '-0'; my $XERCES_VERSION = "$XERCES_LIB_VERSION"; # this substitution will yield '1_4' from '1.4' to be used by 'LIBS' -$XERCES_LIB_VERSION =~ s/\./_/g; -my $LIBXERCES = "-lxerces-c$XERCES_LIB_VERSION"; +# $XERCES_LIB_VERSION =~ s/\./_/g; +my $LIBXERCES = "-lxerces-c"; $LIBS .= " $LIBXERCES"; # now we ensure that libxerces is in the library path @@ -188,14 +188,14 @@ local $" = ' '; my $retval = <<TERMINUS; Xerces.C: Xerces.i typemaps.i @header_files postSource.pl - \$(SWIG) -DVERSION="$XERCES_PERL_VERSION" \$(INC) -package XML::Xerces -perl5 -c++ -shadow -o Xerces.C Xerces.i + \$(SWIG) -DVERSION="$XERCES_PERL_VERSION" \$(INC) -perl5 -c++ -shadow -o Xerces.C Xerces.i perl postSource.pl Xerces.C perl postModule.pl Xerces.pm Xerces.pm: Xerces.C postModule.pl Xerces-extra.pm if [[ postModule.pl -nt Xerces.pm || Xerces-extra.pm -nt Xerces.pm ]] ; then \\ -\$(SWIG) -I. \$(INC) -package XML::Xerces -perl5 -c++ -shadow -o foo.C Xerces.i ; \\ +\$(SWIG) -I. \$(INC) -perl5 -c++ -shadow -o foo.C Xerces.i ; \\ rm foo.C ; \\ perl postModule.pl Xerces.pm ; \\ cp -f Xerces.pm blib/lib/XML ; \\
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]