mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-09 06:51:44 +00:00
858eedd27e
After the last commit to this port [1], that updated DISTFILES, patch errors were reported on pkg-fallout: patch: **** can't cd to /wrkdirs/usr/ports/astro/gpstk/work/dev: No such file or directory => Patch patch-ext__lib__FileDirProc__FileHunter.cpp failed to apply cleanly. *** Error code 1 This change replaces a WRKSRC override with a CMAKE_SOURCE_PATH variable to declare the source directory and regenerates patchfiles against the default WRKSRC. While I'm here: switch to USES=cmake:outsource to match the build instructions upstream [2] It was also noted during testing that this port builds with the base Clang c++ compiler and does not require USE_GCC. Upstream documentation requires only 'a modern, ANSI compliant C++ compiler' [3] [1] https://svnweb.freebsd.org/changeset/ports/399654 [2] http://www.gpstk.org/bin/view/Documentation/BuildingGPSTkUnderUnix [3] http://www.gpstk.org/bin/view/Documentation/SystemRequirements PR: 201196 MFH: 2015Q4
24 lines
432 B
Makefile
24 lines
432 B
Makefile
# Created by: Bruce M Simpson <bms@FreeBSD.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= gpstk
|
|
PORTVERSION= 2.5
|
|
CATEGORIES= astro devel
|
|
MASTER_SITES= SF
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Toolkit for developing GPS applications
|
|
|
|
LICENSE= LGPL3
|
|
|
|
USES= cmake:outsource python:run
|
|
USE_GCC= yes
|
|
USE_LDCONFIG= yes
|
|
|
|
CMAKE_SOURCE_PATH= ${WRKSRC}/dev
|
|
|
|
EXTRACT_AFTER_ARGS= --exclude .git
|
|
|
|
.include <bsd.port.mk>
|