mdds2: fix build for x86 arch

This commit is contained in:
Gerasim Troeglazov
2022-05-06 14:21:23 +10:00
parent b084a5eb15
commit db403a929f

View File

@@ -4,7 +4,7 @@ and indexing algorithms."
HOMEPAGE="https://gitlab.com/mdds/mdds"
COPYRIGHT="2010-2021 Kohei Yoshida et al."
LICENSE="MIT"
REVISION="1"
REVISION="2"
SOURCE_URI="https://kohei.us/files/mdds/src/mdds-$portVersion.tar.bz2"
SOURCE_DIR="mdds-$portVersion"
CHECKSUM_SHA256="3ab33fce58e6acf9540cc1a52264be6863ef80f55ac287194cc98cda48e71fe6"
@@ -26,13 +26,21 @@ BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:automake
cmd:autoreconf
cmd:g++
cmd:ld
cmd:make
cmd:sed
"
PATCH()
{
sed -e '/AX_CXX_COMPILE_STDCXX_17/ s/^#*/#/' -i configure.ac
}
BUILD()
{
autoreconf
runConfigure ./configure
make $jobArgs
}