diff --git a/srcpkgs/OpenCPN/template b/srcpkgs/OpenCPN/template index 0b9c936b25..7ba81e8fb9 100644 --- a/srcpkgs/OpenCPN/template +++ b/srcpkgs/OpenCPN/template @@ -3,6 +3,7 @@ pkgname=OpenCPN version=5.2.0 revision=1 build_style=cmake +build_helper=cmake-wxWidgets-gtk3 configure_args="-DOCPN_BUNDLE_GSHHS=NONE -DOCPN_BUNDLE_TCDATA=ON -DOCPN_BUNDLE_DOCS=ON -DOCPN_FORCE_GTK3=ON -DOCPN_USE_CRASHREPORT=$(vopt_if crashreport ON OFF) @@ -32,10 +33,6 @@ case $XBPS_TARGET_MACHINE in *) build_options_default+=" crashreport";; esac -if [ -z "$CROSS_BUILD" ]; then - configure_args+=" -DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-gtk3" -fi - CFLAGS="-fcommon" post_install() {