mirror of
https://github.com/yann64/haikuports.git
synced 2026-03-19 01:46:00 +01:00
cmark, fix build, disable static library (#7999)
This commit is contained in:
@@ -10,7 +10,7 @@ for parsing and rendering CommonMark documents."
|
||||
HOMEPAGE="https://github.com/commonmark/cmark"
|
||||
COPYRIGHT="2014-2017 John MacFarlane"
|
||||
LICENSE="BSD (2-clause)"
|
||||
REVISION="1"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/commonmark/cmark/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="2558ace3cbeff85610de3bda32858f722b359acdadf0c4691851865bb84924a6"
|
||||
SOURCE_FILENAME="cmark-$portVersion.tar.gz"
|
||||
@@ -76,17 +76,16 @@ PATCH()
|
||||
|
||||
BUILD()
|
||||
{
|
||||
mkdir -p build
|
||||
cd build
|
||||
cmake .. $cmakeDirArgs \
|
||||
${secondaryArchSubDir:+-DLIB_SUFFIX=$secondaryArchSubDir} \
|
||||
|
||||
make $jobArgs
|
||||
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \
|
||||
$cmakeDirArgs \
|
||||
-DCMARK_STATIC=OFF \
|
||||
${secondaryArchSubDir:+-DLIB_SUFFIX=$secondaryArchSubDir}
|
||||
make -C build $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
make -C build install
|
||||
|
||||
prepareInstalledDevelLib libcmark
|
||||
fixPkgconfig
|
||||
|
||||
Reference in New Issue
Block a user