mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
09a0319c83
Make FreeBSD patches to be port's options and remove separated port. Rename patches to more sane names. Add devel/subversion16 port, for people, who need old version. Mark ports, which could not be built with subversion 1.7.x, as conflicting with new subversion.
46 lines
1.7 KiB
Plaintext
46 lines
1.7 KiB
Plaintext
--- subversion/bindings/swig/perl/native/Makefile.PL.in.orig 2011-07-16 15:47:59.000000000 +0400
|
|
+++ subversion/bindings/swig/perl/native/Makefile.PL.in 2011-09-08 00:18:02.000000000 +0400
|
|
@@ -19,7 +19,8 @@
|
|
# under the License.
|
|
#
|
|
#
|
|
-
|
|
+#!/usr/bin/perl -w
|
|
+use strict;
|
|
use ExtUtils::MakeMaker;
|
|
use Config;
|
|
use Cwd 'abs_path';
|
|
@@ -36,6 +37,11 @@
|
|
my $swig_srcdir = "${svnlib_srcdir}/bindings/swig";
|
|
my $swig_builddir = "${svnlib_builddir}/bindings/swig";
|
|
|
|
+my $top_builddir = '../../../../..';
|
|
+my $top_srcdir = '@top_srcdir@';
|
|
+my $svnlib_srcdir = "${top_srcdir}/subversion";
|
|
+my $swig_srcdir = "${svnlib_srcdir}/bindings/swig";
|
|
+
|
|
my @modules = qw/client delta fs ra repos wc/;
|
|
my @ldpaths = (abs_path($swig_builddir) . "/perl/libsvn_swig_perl/.libs",
|
|
map { abs_path($svnlib_builddir) . "/libsvn_$_/.libs" }
|
|
@@ -67,10 +73,9 @@
|
|
" -I$svnlib_builddir",
|
|
" -I$swig_srcdir -g"),
|
|
OBJECT => q/$(O_FILES)/,
|
|
- LIBS => [join(' ', $apr_ldflags,
|
|
+ LIBS => [join(' ', $ENV{'LDFLAGS'}, $apr_ldflags,
|
|
(map {"-L$_"} @ldpaths),
|
|
- @ldmodules, '-lsvn_swig_perl-1',
|
|
- `$swig -perl -ldflags`)],
|
|
+ @ldmodules, '-lsvn_swig_perl-1')],
|
|
test => { TESTS => "$swig_srcdir/perl/native/t/*.t" }
|
|
);
|
|
|
|
@@ -85,6 +90,7 @@
|
|
"\$(INST_LIBDIR)/$_.pm") }
|
|
map { perlish $_ }
|
|
('base', 'core', @modules)},
|
|
+ LDFROM => '$(O_FILES) '."../libsvn_swig_perl/.libs/libsvn_swig_perl-1.a",
|
|
MAN3PODS => {map { ("$swig_srcdir/perl/native/$_.pm" =>
|
|
"\$(INST_MAN3DIR)/SVN::$_.\$(MAN3EXT)") }
|
|
map { perlish $_ }
|