cmake: use vendored jsoncpp.
Preparation to resolve a dependency loop.
This commit is contained in:
parent
3d95f547e0
commit
44a20fc3bc
1 changed files with 4 additions and 4 deletions
|
@ -1,9 +1,9 @@
|
|||
# Template file for 'cmake'
|
||||
pkgname=cmake
|
||||
version=3.2.3
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=configure
|
||||
makedepends="zlib-devel bzip2-devel expat-devel libcurl-devel jsoncpp-devel ncurses-devel libarchive-devel"
|
||||
makedepends="zlib-devel bzip2-devel expat-devel libcurl-devel ncurses-devel libarchive-devel"
|
||||
short_desc="Cross-platform, open-source build system"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
license="LGPL-2.1, 3-clause-BSD"
|
||||
|
@ -16,7 +16,7 @@ if [ "$CROSS_BUILD" ]; then
|
|||
build_style=cmake
|
||||
hostmakedepends="cmake gcc-fortran"
|
||||
configure_args=" -DCMAKE_USE_SYSTEM_BZIP2=1"
|
||||
configure_args+=" -DCMAKE_USE_SYSTEM_LIBARCHIVE=1 -DCMAKE_USE_SYSTEM_JSONCPP=1"
|
||||
configure_args+=" -DCMAKE_USE_SYSTEM_LIBARCHIVE=1"
|
||||
configure_args+=" -DCMAKE_USE_SYSTEM_CURL=1 -DCMAKE_USE_SYSTEM_ZLIB=1"
|
||||
configure_args+=" -DCMAKE_USE_SYSTEM_EXPAT=1 -DCMAKE_USE_SYSTEM_BZIP2=1"
|
||||
configure_args+=" -DCMAKE_USE_SYSTEM_LIBLZMA=1 -DCMAKE_USE_SYSTEM_LIBFORM=1"
|
||||
|
@ -26,7 +26,7 @@ if [ "$CROSS_BUILD" ]; then
|
|||
else
|
||||
build_style=configure
|
||||
configure_args="--prefix=/usr --mandir=/share/man"
|
||||
configure_args+=" --docdir=/share/doc/cmake --system-libs ${XBPS_MAKEJOBS:+--parallel=$XBPS_MAKEJOBS}"
|
||||
configure_args+=" --docdir=/share/doc/cmake --system-libs --no-system-jsoncpp ${XBPS_MAKEJOBS:+--parallel=$XBPS_MAKEJOBS}"
|
||||
fi
|
||||
|
||||
post_install() {
|
||||
|
|
Loading…
Reference in a new issue