diff options
author | lev <lev@FreeBSD.org> | 2005-11-02 18:17:51 +0800 |
---|---|---|
committer | lev <lev@FreeBSD.org> | 2005-11-02 18:17:51 +0800 |
commit | eebc98a67fbbaaed2b0a0007534e38a633756f5d (patch) | |
tree | baf8970f8c59707c4f9d7450110661c8fec44955 /devel/subversion16 | |
parent | a5b43d2a0a0f1c23fe6fcd1ea49a72b2d7afce40 (diff) | |
download | freebsd-ports-gnome-eebc98a67fbbaaed2b0a0007534e38a633756f5d.tar.gz freebsd-ports-gnome-eebc98a67fbbaaed2b0a0007534e38a633756f5d.tar.zst freebsd-ports-gnome-eebc98a67fbbaaed2b0a0007534e38a633756f5d.zip |
[1] Fix perl bindings
[2] Fix building of bindings on amd64 and ia64
PR: [1] ports/88209
Diffstat (limited to 'devel/subversion16')
-rw-r--r-- | devel/subversion16/Makefile | 6 | ||||
-rw-r--r-- | devel/subversion16/files/patch-subversion::bindings::swig::perl::natives::Makefle.PL.in | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/devel/subversion16/Makefile b/devel/subversion16/Makefile index 67865d8325d6..0b095c1a01b7 100644 --- a/devel/subversion16/Makefile +++ b/devel/subversion16/Makefile @@ -6,7 +6,7 @@ PORTNAME= subversion PORTVERSION= 1.2.3 -PORTREVISION?= 2 +PORTREVISION?= 3 CATEGORIES= devel MASTER_SITES= http://subversion.tigris.org/tarballs/ @@ -43,6 +43,10 @@ PLIST_SUB+= WITHOUT_GETTEXT="@comment " .include <bsd.port.pre.mk> +.if ${ARCH} == "amd64" || ${ARCH} == "ia64" +CFLAGS+= -fpic -DPIC +.endif + SVNREPOS?= /home/svn/repos SVNFSTYPE?= fsfs diff --git a/devel/subversion16/files/patch-subversion::bindings::swig::perl::natives::Makefle.PL.in b/devel/subversion16/files/patch-subversion::bindings::swig::perl::natives::Makefle.PL.in index e043f63bf5a1..197fe4d55431 100644 --- a/devel/subversion16/files/patch-subversion::bindings::swig::perl::natives::Makefle.PL.in +++ b/devel/subversion16/files/patch-subversion::bindings::swig::perl::natives::Makefle.PL.in @@ -41,7 +41,7 @@ OBJECT => q/$(O_FILES)/, LIBS => [join(' ', $apr_ldflags, (map {$_ = abs_path($_); "-L$_"} @ldpaths), -! @ldmodules)], +! @ldmodules, '-lsvn_swig_perl-1')], test => { TESTS => "$swig_srcdir/perl/native/t/*.t" } ); |