XyGrib: fix build with openjpeg 2.4
This commit is contained in:
parent
beea74e3bd
commit
e5cd09ec87
|
@ -17,6 +17,11 @@ if [ "$CROSS_BUILD" ]; then
|
|||
make_build_args="LINK=${XBPS_CROSS_TRIPLET}-c++"
|
||||
fi
|
||||
|
||||
post_patch() {
|
||||
vsed -i -e '\!/usr/include/openjpeg-2.3!i /usr/include/openjpeg-2.4' \
|
||||
CMakeLists.txt
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vbin ${FILESDIR}/XyGrib
|
||||
|
||||
|
|
Loading…
Reference in New Issue