From 45d63c5128c1833a5672cae60a19e6a3eaeb8a6a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Wed, 19 Feb 2025 10:16:39 +0100 Subject: [PATCH] openjpeg: fix pkgConfig file includeDir using fixPkgconfig strict mode would help, but it's still broken on the buildbot. fix #11804 --- media-libs/openjpeg/openjpeg-2.5.3.recipe | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/media-libs/openjpeg/openjpeg-2.5.3.recipe b/media-libs/openjpeg/openjpeg-2.5.3.recipe index 64cc514db..a1e77de6b 100644 --- a/media-libs/openjpeg/openjpeg-2.5.3.recipe +++ b/media-libs/openjpeg/openjpeg-2.5.3.recipe @@ -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 }