mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
msgpack_c_cpp, disable tests, fixes build (#13598)
This commit is contained in:
@@ -18,6 +18,8 @@ SECONDARY_ARCHITECTURES="x86"
|
||||
libVersion="2.0.0"
|
||||
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
|
||||
|
||||
boostMinimumVersion="1.88.0"
|
||||
|
||||
PROVIDES="
|
||||
msgpack_c_cpp$secondaryArchSuffix = $portVersion
|
||||
lib:libmsgpackc$secondaryArchSuffix = $libVersionCompat
|
||||
@@ -38,15 +40,16 @@ REQUIRES_devel="
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libboost_chrono$secondaryArchSuffix
|
||||
devel:libboost_context$secondaryArchSuffix
|
||||
devel:libboost_system$secondaryArchSuffix
|
||||
devel:libboost_timer$secondaryArchSuffix
|
||||
devel:libboost_chrono$secondaryArchSuffix >= $boostMinimumVersion
|
||||
devel:libboost_context$secondaryArchSuffix >= $boostMinimumVersion
|
||||
devel:libboost_system$secondaryArchSuffix >= $boostMinimumVersion
|
||||
devel:libboost_timer$secondaryArchSuffix >= $boostMinimumVersion
|
||||
devel:libgtest$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:dot
|
||||
cmd:doxygen
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
@@ -74,7 +77,9 @@ BUILD()
|
||||
-DBUILD_SHARED_LIBS=ON \
|
||||
-DCMAKE_SKIP_RPATH=YES \
|
||||
-DMSGPACK_BUILD_EXAMPLES=OFF \
|
||||
-DMSGPACK_CXX11=OFF
|
||||
-DMSGPACK_CXX11=OFF \
|
||||
-DMSGPACK_BUILD_TESTS=OFF \
|
||||
-Wno-dev
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user