openjpeg: fix pkgConfig file includeDir

using fixPkgconfig strict mode would help, but it's still broken on the buildbot.
fix #11804
This commit is contained in:
Jérôme Duval
2025-02-19 10:16:39 +01:00
parent 9e31afd527
commit 45d63c5128

View File

@@ -19,7 +19,7 @@ Universite catholique de Louvain (UCL), Belgium
2011-2012, Centre National d'Etudes Spatiales (CNES), France
2012, CS Systemes d'Information, France"
LICENSE="BSD (2-clause)"
REVISION="1"
REVISION="2"
SOURCE_URI="https://github.com/uclouvain/openjpeg/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="368fe0468228e767433c9ebdea82ad9d801a3ad1e4234421f352c8b06e7aa707"
SOURCE_FILENAME="openjpeg-$portVersion.tar.gz"
@@ -80,6 +80,9 @@ INSTALL()
prepareInstalledDevelLib libopenjp2
fixPkgconfig
#fixPkgconfig strict once Haikuporter gets updated
sed -i -e "s,^includedir=.*,includedir=$prefix/$relativeIncludeDir/openjpeg-2.5," \
$developLibDir/pkgconfig/libopenjp2.pc
packageEntries devel $developDir $libDir/cmake
}