d3d6479d98
The reason is that a plugin may include its private version of some code that opencpn also has in its source. Without -Bsymbolic the plugin may use the objects from opencpn instead of its version, and which do not match the includes it was compiled with, and bad things happens. bump PKGREVISIONs
35 lines
1.1 KiB
Makefile
35 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.13 2017/08/24 13:01:33 bouyer Exp $
|
|
#
|
|
|
|
VERSION= 20170414
|
|
DISTNAME= weather_routing_pi-${VERSION}
|
|
PKGNAME= opencpn-plugin-weather_routing-${VERSION}
|
|
PKGREVISION= 5
|
|
CATEGORIES= geography
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=seandepagnier/}
|
|
GITHUB_PROJECT= weather_routing_pi
|
|
GITHUB_TAG= d65c968479af4fee78aa28b4b3f2c54660597eac
|
|
|
|
MAINTAINER= bouyer@NetBSD.org
|
|
HOMEPAGE= https://opencpn.org/OpenCPN/plugins/weatherroute.html
|
|
COMMENT= creates optimized weather routes using grib data in OpenCPN
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS= gettext
|
|
USE_CMAKE= yes
|
|
|
|
CMAKE_ARGS+= -DPREFIX:PATH=${PREFIX} -DPREFIX_PLUGINS:PATH=${PREFIX}/lib/opencpn
|
|
CMAKE_MODULE_PATH_OVERRIDE = \
|
|
cmake/PluginConfigure.cmake \
|
|
cmake/PluginInstall.cmake \
|
|
cmake/PluginLocalization.cmake \
|
|
cmake/PluginPackage.cmake
|
|
|
|
.include "../../devel/cmake/buildlink3.mk"
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
.include "../../x11/wxGTK30/buildlink3.mk"
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
.include "../../graphics/glu/buildlink3.mk"
|
|
.include "../../textproc/tinyxml/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|