libcmis: fix gcc6 build
Use a newer boost.m4 to fix detection of boost_major_version. Now we need to specify the boost LIBS to link against.
This commit is contained in:
parent
2c74215a87
commit
d19eefb899
2 changed files with 1576 additions and 2 deletions
1568
srcpkgs/libcmis/files/boost.m4
Normal file
1568
srcpkgs/libcmis/files/boost.m4
Normal file
File diff suppressed because it is too large
Load diff
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'libcmis'
|
||||
pkgname=libcmis
|
||||
version=0.5.0
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config libtool automake"
|
||||
makedepends="libcurl-devel libxml2-devel libcppunit-devel boost-devel"
|
||||
|
@ -13,8 +13,14 @@ distfiles="${SOURCEFORGE_SITE}/$pkgname/$pkgname-${version}.tar.gz"
|
|||
checksum=a87e02913dee3ee659db5abf6d7dafcfcd85dd4b24bf4389d8d4afe8c8dcf9b6
|
||||
configure_args="--without-man"
|
||||
|
||||
post_extract() {
|
||||
do_configure() {
|
||||
# Use newer boost.m4 from https://github.com/tsuna/boost.m4
|
||||
# which fixes the build with gcc6
|
||||
cp -v ${FILESDIR}/boost.m4 m4
|
||||
autoreconf -fi
|
||||
LIBS="-L${XBPS_CROSS_BASE}/usr/lib -lboost_system \
|
||||
-lboost_date_time -lboost_program_options" \
|
||||
./configure ${configure_args}
|
||||
}
|
||||
|
||||
libcmis-devel_package() {
|
||||
|
|
Loading…
Reference in a new issue