pkgsrc/geography/opencpn-plugin-watchdog/Makefile
bouyer d3d6479d98 We need -Wl,-Bsymbolic in the linker flags for NetBSD too, not only linux.
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
2017-08-24 13:01:32 +00:00

34 lines
1 KiB
Makefile

# $NetBSD: Makefile,v 1.9 2017/08/24 13:01:33 bouyer Exp $
#
VERSION= 20170611
DISTNAME= watchdog_pi-${VERSION}
PKGNAME= opencpn-plugin-watchdog-${VERSION}
PKGREVISION= 1
CATEGORIES= geography
MASTER_SITES= ${MASTER_SITE_GITHUB:=seandepagnier/}
GITHUB_PROJECT= watchdog_pi
GITHUB_TAG= 870a9231cd451b24d876097166e95ab4a55122ce
MAINTAINER= bouyer@NetBSD.org
HOMEPAGE= https://opencpn.org/OpenCPN/plugins/watchdog.html
COMMENT= implements various configurable alarms in OpenCPN
LICENSE= gnu-gpl-v3
USE_LANGUAGES= c c++
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"