libsmf, disable static library (#8400)

This commit is contained in:
Schrijvers Luc
2023-04-15 13:57:51 +02:00
committed by GitHub
parent 7c7ebaab89
commit 3bc301fe7e

View File

@@ -7,17 +7,20 @@ HOMEPAGE="https://sourceforge.net/projects/libsmf/"
COPYRIGHT="2007-2008 Edward Tomasz Napieraa
2013 John Stumpo"
LICENSE="BSD (2-clause)"
REVISION="2"
REVISION="3"
SOURCE_URI="https://downloads.sourceforge.net/libsmf/libsmf-$portVersion.tar.gz"
CHECKSUM_SHA256="d3549f15de94ac8905ad365639ac6a2689cb1b51fdfa02d77fa6640001b18099"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
libVersion="0.0.0"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"
PROVIDES="
libsmf$secondaryArchSuffix = $portVersion
cmd:smfsh$secondaryArchSuffix = $portVersion
lib:libsmf$secondaryArchSuffix = 0.0.0 compat >= 0
lib:libsmf$secondaryArchSuffix = $libVersionCompat
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -28,7 +31,7 @@ REQUIRES="
PROVIDES_devel="
libsmf${secondaryArchSuffix}_devel = $portVersion
devel:libsmf$secondaryArchSuffix = 0.0.0 compat >= 0
devel:libsmf$secondaryArchSuffix = $libVersionCompat
"
REQUIRES_devel="
libsmf$secondaryArchSuffix == $portVersion base
@@ -54,7 +57,8 @@ BUILD()
libtoolize --force --copy --install
aclocal
automake --add-missing
runConfigure ./configure CPPFLAGS="-D_BSD_SOURCE"
runConfigure ./configure CPPFLAGS="-D_BSD_SOURCE" \
--disable-static
make $jobArgs
}