discount: fix building with newer cmake.

Removed TESTS() as that was non-functional.

Tried running the tests manually, only to discover it tests/functions.sh
hardcodes `./echo`, `./cols`, and `./markdown`. And we don't seem to have
`cmd:cols` available on-tree.

Can be re-added when someone fixes it. For now, drop it to avoid
confusion.
This commit is contained in:
Oscar Lesta
2025-08-26 03:45:03 -03:00
committed by OscarL
parent 7c7614cb9f
commit bdee4611b8

View File

@@ -7,7 +7,7 @@ how to fully utilize the markdown library."
HOMEPAGE="http://www.pell.portland.or.us/~orc/Code/discount/"
COPYRIGHT="2007-2024 David Loren Parsons"
LICENSE="BSD (4-clause)"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/Orc/discount/archive/v$portVersion.tar.gz"
SOURCE_FILENAME="discount-$portVersion.tar.gz"
CHECKSUM_SHA256="0ed8cc27ac5d46dc6a8beedd5e5673ac8b466a6474bdb7d35f37c815f670385f"
@@ -17,8 +17,8 @@ SECONDARY_ARCHITECTURES="x86"
PROVIDES="
discount$secondaryArchSuffix = $portVersion
lib:libmarkdown$secondaryArchSuffix = $portVersion compat >= 3
cmd:markdown$secondaryArchSuffix = $portVersion compat >= 3
lib:libmarkdown$secondaryArchSuffix = $portVersion compat >= 3
"
REQUIRES="
@@ -47,6 +47,7 @@ BUILD()
{
cmake -B build -S./cmake $cmakeDirArgs \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DBUILD_SHARED_LIBS=ON
make -C build $jobArgs
@@ -64,8 +65,3 @@ INSTALL()
$developDir \
$libDir/cmake
}
TEST()
{
make -C build test
}