mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user