diff --git a/srcpkgs/XyGrib/template b/srcpkgs/XyGrib/template index 203d0fc9f58..e4aa3a2e026 100644 --- a/srcpkgs/XyGrib/template +++ b/srcpkgs/XyGrib/template @@ -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