Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "Subversion (svn) version control system client" |
| 2 | HOMEPAGE = "http://subversion.apache.org" |
| 3 | SECTION = "console/network" |
| 4 | LICENSE = "Apache-2 & MIT" |
| 5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=6487ae7094d359fa90fb9c4096e52e2b" |
| 6 | |
| 7 | DEPENDS = "apr-util serf sqlite3 file lz4" |
| 8 | DEPENDS_append_class-native = " file-replacement-native" |
| 9 | |
| 10 | SRC_URI = "${APACHE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2 \ |
| 11 | file://disable_macos.patch \ |
| 12 | file://0001-Fix-libtool-name-in-configure.ac.patch \ |
| 13 | file://serfmacro.patch \ |
| 14 | " |
| 15 | |
| 16 | SRC_URI[md5sum] = "3004b4dae18bf45a0b6ea4ef8820064d" |
| 17 | SRC_URI[sha256sum] = "bc50ce2c3faa7b1ae9103c432017df98dfd989c4239f9f8270bb3a314ed9e5bd" |
| 18 | |
| 19 | inherit autotools pkgconfig gettext |
| 20 | |
| 21 | CVE_PRODUCT = "apache:subversion" |
| 22 | |
| 23 | PACKAGECONFIG ?= "" |
| 24 | |
| 25 | PACKAGECONFIG[boost] = "--with-boost=${RECIPE_SYSROOT}${exec_prefix},--without-boost,boost" |
| 26 | PACKAGECONFIG[sasl] = "--with-sasl,--without-sasl,cyrus-sasl" |
| 27 | PACKAGECONFIG[gnome-keyring] = "--with-gnome-keyring,--without-gnome-keyring,glib-2.0 gnome-keyring" |
| 28 | |
| 29 | EXTRA_OECONF = " \ |
| 30 | --with-apr=${STAGING_BINDIR_CROSS} \ |
| 31 | --with-apr-util=${STAGING_BINDIR_CROSS} \ |
| 32 | --without-apxs \ |
| 33 | --without-berkeley-db \ |
| 34 | --without-swig \ |
| 35 | --disable-keychain \ |
| 36 | --with-utf8proc=internal \ |
| 37 | ac_cv_path_RUBY=none \ |
| 38 | " |
| 39 | |
| 40 | EXTRA_OEMAKE += "pkgconfig_dir=${libdir}/pkgconfig" |
| 41 | |
| 42 | acpaths = "-I build/ -I build/ac-macros/" |
| 43 | |
| 44 | CPPFLAGS += "-P" |
| 45 | BUILD_CPPFLAGS += "-P" |
| 46 | |
| 47 | do_configure_prepend () { |
| 48 | rm -f ${S}/libtool |
| 49 | rm -f ${S}/build/libtool.m4 ${S}/build/ltmain.sh ${S}/build/ltoptions.m4 ${S}/build/ltsugar.m4 ${S}/build/ltversion.m4 ${S}/build/lt~obsolete.m4 |
| 50 | rm -f ${S}/aclocal.m4 |
| 51 | sed -i -e 's:with_sasl="/usr/local":with_sasl="${STAGING_DIR}":' ${S}/build/ac-macros/sasl.m4 |
| 52 | } |
| 53 | |
| 54 | #| x86_64-linux-libtool: install: warning: `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/work/x86_64-linux/subversion-native/1.8.9-r0/build/subversion/libsvn_ra_local/libsvn_ra_local-1.la' has not been installed in `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/sysroots/x86_64-linux/usr/lib'| x86_64-linux-libtool: install: warning: `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/work/x86_64-linux/subversion-native/1.8.9-r0/build/subversion/libsvn_repos/libsvn_repos-1.la' has not been installed in `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/sysroots/x86_64-linux/usr/lib'| /usr/bin/ld: cannot find -lsvn_delta-1| collect2: ld returned 1 exit status| x86_64-linux-libtool: install: warning: `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/work/x86_64-linux/subversion-native/1.8.9-r0/build/subversion/libsvn_ra_svn/libsvn_ra_svn-1.la' has not been installed in `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/sysroots/x86_64-linux/usr/lib'| x86_64-linux-libtool: install: warning: `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/work/x86_64-linux/subversion-native/1.8.9-r0/build/subversion/libsvn_ra_serf/libsvn_ra_serf-1.la' has not been installed in `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/sysroots/x86_64-linux/usr/lib' |
| 55 | #| x86_64-linux-libtool: install: error: relink `libsvn_ra_serf-1.la' with the above command before installing it |
| 56 | #| x86_64-linux-libtool: install: warning: `../../subversion/libsvn_repos/libsvn_repos-1.la' has not been installed in `/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/sysroots/x86_64-linux/usr/lib' |
| 57 | #| /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-qa-logrotate/build/build/tmp/work/x86_64-linux/subversion-native/1.8.9-r0/subversion-1.8.9/build-outputs.mk:1090: recipe for target 'install-serf-lib' failed |
| 58 | #| make: *** [install-serf-lib] Error 1 |
| 59 | PARALLEL_MAKEINST = "" |
| 60 | |
| 61 | RDEPENDS_${PN} = "serf" |
| 62 | |
| 63 | BBCLASSEXTEND = "native" |