Edit

IABSD.fr/ports/geo/gpstk/Makefile

Branch :

  • Show log

    Commit

  • Author : landry
    Date : 2026-02-23 10:31:14
    Hash : 25a298db
    Message : geo/gpstk: add a comment stating this needs to be updated to gnsstk 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@

  • geo/gpstk/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>