diff --git a/dev-cpp/antlr-cpp/antlr_cpp-4.12.0.recipe b/dev-cpp/antlr-cpp/antlr_cpp-4.12.0.recipe index 0ef250b6f..da3d945d9 100644 --- a/dev-cpp/antlr-cpp/antlr_cpp-4.12.0.recipe +++ b/dev-cpp/antlr-cpp/antlr_cpp-4.12.0.recipe @@ -6,7 +6,7 @@ build and walk parse trees." HOMEPAGE="https://www.antlr.org/" COPYRIGHT="2012-2022 The ANTLR Project" LICENSE="BSD (3-clause)" -REVISION="1" +REVISION="2" SOURCE_URI="https://www.antlr.org/download/antlr4-cpp-runtime-$portVersion-source.zip" CHECKSUM_SHA256="642d59854ddc0cebb5b23b2233ad0a8723eef20e66ef78b5b898d0a67556893b" SOURCE_DIR="" @@ -45,19 +45,16 @@ BUILD_PREREQUIRES=" BUILD() { - mkdir -p build - cd build - cmake .. $cmakeDirArgs \ - -DCMAKE_BUILD_TYPE=Release \ + cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=Release \ + $cmakeDirArgs \ -DANTLR_BUILD_STATIC=OFF \ -DANTLR4_INSTALL=ON - make $jobArgs + make -C build $jobArgs } INSTALL() { - cd build - make install + make -C build install prepareInstalledDevelLib libantlr4-runtime fixCMake @@ -68,6 +65,5 @@ INSTALL() TEST() { - cd build - make test + make -C build test }