Browse Source

subversion: fixed to install perl modules into vendor directory (see note!)

Note:

According to http://search.cpan.org/dist/perl/INSTALL#Installation_Directories
this is the right place for distributions which build binary packages of perl
add-on modules.

If you wonder about the changed build process here is are the relavant
parts out of the 'subversion/bindings/swig/INSTALL' file.

-------------------------------------------------------------------------
*  Perl

   Perl 5.8.0 is required.  You can specify the perl binary by passing
   PERL=/path/to/perl as part of the configure command in the top level
   of the Subversion source tree.  Make sure that the Perl version used
   is the same one that you configured SWIG to run against during the
   SWIG configure (see above).

   1.  Run `make swig-pl' from the top of the Subversion source tree.

   2.  Run `make check-swig-pl' from the top of the Subversion source
       tree, to test the bindings

   3.  to install run `make install-swig-pl' from the top of the
       Subversion source tree.

   If you need to pass extra parameters to Perl build process (Makefile.PL),
   then you need to do this process somewhat different:

   1.  Run `make swig-pl-lib' from the top of the Subversion source tree.

   2.  Run `make install-swig-pl-lib'

   3.  cd subversion/bindings/swig/perl/native

   4.  Run `perl Makefile.PL EXTRAOPTIONSHERE`

   5.  Run `make install'

   To install the Perl bindings in a location other than the system
   Perl directory, use the above instructions with the extra option
   PREFIX=/your/prefix/here.
-------------------------------------------------------------------------
stable/0.2
Christian Wiese 14 years ago
parent
commit
f2fd80d6db
  1. 10
      develop/subversion/subversion.conf

10
develop/subversion/subversion.conf

@ -2,7 +2,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../subversion/subversion.conf # Filename: package/.../subversion/subversion.conf
# Copyright (C) 2006 The OpenSDE Project # Copyright (C) 2006 - 2011 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
# #
@ -40,8 +40,12 @@ fi
# build and install perl bindings # build and install perl bindings
svn_inst_pl() { svn_inst_pl() {
make swig-pl make swig-pl-lib
make install-swig-pl make install-swig-pl-lib
pushd subversion/bindings/swig/perl/native
perl Makefile.PL INSTALLDIRS='vendor'
make install
popd
} }
# build and install python bindings # build and install python bindings

Loading…
Cancel
Save