diff options
author | Timo Teräs <timo.teras@iki.fi> | 2012-01-28 13:01:46 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2012-01-28 13:01:46 +0200 |
commit | 7e6f6528e8d868853eae2b67183714dfcdc3465c (patch) | |
tree | 143b3f8773fa19f415fb2a83d03938555388f7ce /main/subversion/subversion-perl-deplibs.patch | |
parent | 117d75d7424437c1b3798363c9e87ddfc038a46c (diff) | |
download | aports-7e6f6528e8d868853eae2b67183714dfcdc3465c.tar.bz2 aports-7e6f6528e8d868853eae2b67183714dfcdc3465c.tar.xz |
main/subversion: fix perl-subversion to actually work
* build, install and package libsvn_swig_perl
* remove the cyclic link dependency stuff
* add missing libapr-1 to the swig library
* clean up rpath for the perl modules
Diffstat (limited to 'main/subversion/subversion-perl-deplibs.patch')
-rw-r--r-- | main/subversion/subversion-perl-deplibs.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/main/subversion/subversion-perl-deplibs.patch b/main/subversion/subversion-perl-deplibs.patch new file mode 100644 index 0000000000..e9757a2866 --- /dev/null +++ b/main/subversion/subversion-perl-deplibs.patch @@ -0,0 +1,25 @@ +--- subversion-1.7.2/subversion/bindings/swig/perl/native/Makefile.PL.in.orig ++++ subversion-1.7.2/subversion/bindings/swig/perl/native/Makefile.PL.in +@@ -49,11 +49,7 @@ + my $cflags = '@CFLAGS@'; + my $apr_cflags = '@SVN_APR_INCLUDES@'; + my $apu_cflags = '@SVN_APRUTIL_INCLUDES@'; +- +-# According to the log of r7937, the flags guarded by the conditional break +-# the build on FreeBSD if not conditionalized. +-my $apr_ldflags = '@SVN_APR_LIBS@' +- if $^O eq 'darwin' or $^O eq 'cygwin'; ++my $apr_ldflags = '@SVN_APR_LIBS@'; + + chomp $apr_shlib_path_var; + +--- subversion-1.7.2/configure.ac.orig ++++ subversion-1.7.2/configure.ac +@@ -328,6 +328,6 @@ + AC_MSG_CHECKING([whether to avoid circular linkage at all costs]) + case $host in +- *-*-cygwin*) ++ *linux*) + AC_MSG_RESULT([yes]) + AC_DEFINE([SVN_AVOID_CIRCULAR_LINKAGE_AT_ALL_COSTS_HACK], 1, + [Define if circular linkage is not possible on this platform.]) |