diff options
-rw-r--r-- | meta/recipes-devtools/subversion/subversion-1.7.0/libtool2.patch | 15 | ||||
-rw-r--r-- | meta/recipes-devtools/subversion/subversion_1.7.0.bb | 37 |
2 files changed, 52 insertions, 0 deletions
diff --git a/meta/recipes-devtools/subversion/subversion-1.7.0/libtool2.patch b/meta/recipes-devtools/subversion/subversion-1.7.0/libtool2.patch new file mode 100644 index 0000000000..5cd572bfc8 --- /dev/null +++ b/meta/recipes-devtools/subversion/subversion-1.7.0/libtool2.patch | |||
@@ -0,0 +1,15 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
2 | |||
3 | --- a/configure.ac 2011-10-20 21:56:02.230663987 +0200 | ||
4 | +++ b/configure.ac 2011-08-17 15:01:30.000000000 +0200 | ||
5 | @@ -227,8 +227,8 @@ | ||
6 | LIBTOOL="$sh_libtool" | ||
7 | SVN_LIBTOOL="$sh_libtool" | ||
8 | else | ||
9 | - sh_libtool="$abs_builddir/libtool" | ||
10 | - SVN_LIBTOOL="\$(SHELL) $sh_libtool" | ||
11 | + sh_libtool="$abs_builddir/$host_alias-libtool" | ||
12 | + SVN_LIBTOOL="\$(SHELL) \$(abs_builddir)/$host_alias-libtool" | ||
13 | fi | ||
14 | AC_SUBST(SVN_LIBTOOL) | ||
15 | |||
diff --git a/meta/recipes-devtools/subversion/subversion_1.7.0.bb b/meta/recipes-devtools/subversion/subversion_1.7.0.bb new file mode 100644 index 0000000000..396b35b883 --- /dev/null +++ b/meta/recipes-devtools/subversion/subversion_1.7.0.bb | |||
@@ -0,0 +1,37 @@ | |||
1 | DESCRIPTION = "The Subversion (svn) client" | ||
2 | SECTION = "console/network" | ||
3 | DEPENDS = "apr-util neon" | ||
4 | RDEPENDS_${PN} = "neon" | ||
5 | LICENSE = "Apache-2" | ||
6 | HOMEPAGE = "http://subversion.tigris.org" | ||
7 | |||
8 | BBCLASSEXTEND = "native" | ||
9 | |||
10 | # negative, because of new checkout format in 1.7.0 | ||
11 | # and distro PREMIRRORs need to be in sync with users | ||
12 | DEFAULT_PREFERENCE = "-1" | ||
13 | |||
14 | SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ | ||
15 | file://libtool2.patch \ | ||
16 | " | ||
17 | SRC_URI[md5sum] = "930e6644a1b6094efd268fde6a318f04" | ||
18 | SRC_URI[sha256sum] = "64fd5f263a80e609717a3ca42f1f2625606a5c4a40a85716f82c866033780978" | ||
19 | |||
20 | LIC_FILES_CHKSUM = "file://LICENSE;md5=4a14fd2da3134e40a087eb4326a4ecd4" | ||
21 | |||
22 | EXTRA_OECONF = " \ | ||
23 | --without-berkeley-db --without-apxs --without-apache \ | ||
24 | --without-swig --with-apr=${STAGING_BINDIR_CROSS} \ | ||
25 | --with-apr-util=${STAGING_BINDIR_CROSS}" | ||
26 | |||
27 | inherit autotools | ||
28 | |||
29 | export LDFLAGS += " -L${STAGING_LIBDIR} " | ||
30 | |||
31 | acpaths = "-I build/ -I build/ac-macros/" | ||
32 | |||
33 | do_configure_prepend () { | ||
34 | rm -f ${S}/libtool | ||
35 | rm -f ${S}/build/libtool.m4 | ||
36 | sed -i -e 's:with_sasl="/usr/local":with_sasl="${STAGING_DIR}":' ${S}/build/ac-macros/sasl.m4 | ||
37 | } | ||