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