mirror of
https://github.com/openbsd/ports.git
synced 2026-06-17 23:13:55 +02:00
25a298db25
what we ship is from 2018, and gpstk was renamed to gnsstk in 2021. If you play with GNSS/GPS data/receivers on OpenBSD and use this, let ports@ mailing-list know (or better, send a diff to move to gnsstk!), otherwise this port might just get removed the next time it breaks due to toolchain changes... discussed with sthen@
39 lines
806 B
Makefile
39 lines
806 B
Makefile
# should be replaced with https://github.com/sgl-ut/gnsstk and https://github.com/sgl-ut/gnsstk-apps
|
|
# GH_PROJECT=gnsstk
|
|
COMMENT= GPS processing toolkit
|
|
|
|
V= 2.10
|
|
GH_ACCOUNT= SGL-UT
|
|
GH_PROJECT= GPSTk
|
|
GH_TAGNAME= v$V
|
|
PKGNAME= gpstk-$V
|
|
|
|
CATEGORIES= geo devel
|
|
|
|
SHARED_LIBS= gpstk 16.0
|
|
|
|
HOMEPAGE= http://www.gpstk.org/
|
|
|
|
# LGPLv3.0+
|
|
PERMIT_PACKAGE= Yes
|
|
|
|
WANTLIB= ${COMPILER_LIBCXX} c m
|
|
|
|
MODULES= devel/cmake
|
|
|
|
NO_TEST= Yes
|
|
.if ${MACHINE_ARCH} != "i386" && ${MACHINE_ARCH} != "amd64" && ${MACHINE_ARCH} != "aarch64"
|
|
# ...higher opt levels are too much for smaller/slower build machines
|
|
CFLAGS+= -O0
|
|
CXXFLAGS+= -O0
|
|
.endif
|
|
|
|
CONFIGURE_ARGS= -DBUILD_EXT=on
|
|
MODCMAKE_POLICY_VERSION_OVERRIDE = Yes
|
|
|
|
COMPILER= base-clang ports-gcc
|
|
|
|
CXXFLAGS += -std=c++14
|
|
|
|
.include <bsd.port.mk>
|