curl: remove private dependencies for curl_devel

only needed for static linking, and in case headers include third-party
libraries headers.
This commit is contained in:
Jérôme Duval
2024-10-26 20:07:06 +02:00
parent 9157617e1e
commit de1a699f7b

View File

@@ -9,7 +9,7 @@ busload of other useful tricks."
HOMEPAGE="https://curl.haxx.se/"
COPYRIGHT="1996-2024 Daniel Stenberg"
LICENSE="Curl"
REVISION="2"
REVISION="3"
SOURCE_URI="https://github.com/curl/curl/releases/download/curl-${portVersion//\./_}/curl-$portVersion.tar.bz2"
CHECKSUM_SHA256="3763cd97aae41dcf41950d23e87ae23b2edb2ce3a5b0cf678af058c391b6ae31"
ADDITIONAL_FILES="curl.rdef"
@@ -47,9 +47,6 @@ PROVIDES_devel="
"
REQUIRES_devel="
curl$secondaryArchSuffix == $portVersion base
devel:libnghttp2$secondaryArchSuffix
devel:libssl$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
@@ -140,6 +137,11 @@ INSTALL()
-e "s,--libdir=$developLibDir,--libdir=$libDir,g" \
$binDir/curl-config
# curl headers don't depend on the private libs
sed -i \
-e "s,Requires.private.*,," \
$developLibDir/pkgconfig/libcurl.pc
if [ -n "$secondaryArchSuffix" ]; then
maybe_manDir_man3=
else