summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2020-08-18 17:48:01 +0000
committergdt <gdt@pkgsrc.org>2020-08-18 17:48:01 +0000
commit5b5be76cc449c53260e8e70246f78d9f5133d025 (patch)
treeac5fa81be1b8841593b253c5d0de43cf840482d7
parent7cebad2e94406acdf2f5ae852b5a6aebea58a029 (diff)
downloadpkgsrc-5b5be76cc449c53260e8e70246f78d9f5133d025.tar.gz
geography/gpsd: Revert errant commit to branch
-rw-r--r--geography/gpsd/Makefile37
1 files changed, 17 insertions, 20 deletions
diff --git a/geography/gpsd/Makefile b/geography/gpsd/Makefile
index 792446189c7..93491fce700 100644
--- a/geography/gpsd/Makefile
+++ b/geography/gpsd/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.48.4.1 2020/08/18 17:37:48 gdt Exp $
+# $NetBSD: Makefile,v 1.48.4.2 2020/08/18 17:48:01 gdt Exp $
-DISTNAME= gpsd-3.21
+DISTNAME= gpsd-3.20
+PKGREVISION= 2
CATEGORIES= geography
MASTER_SITES= http://download-mirror.savannah.gnu.org/releases/gpsd/
# will probably switch to https://gitlab.com/gpsd/gpsd/releases
@@ -34,21 +35,22 @@ DEPENDS+= ${PYPKGPREFIX}-serial-[0-9]*:../../comms/py-serial
CFLAGS.SunOS= -DLOG_PERROR=0
-## Configure phase arguments:
-# Do not use the net at build time.
-SCONS_ARGS+= leapfetch=no
-# Use the python chosen by pkgsrc, not "/usr/bin/env python"
-SCONS_ARGS+= python_shebang=${PYTHONBIN}
-SCONS_ARGS+= target_python=${PYTHONBIN}
-# Put docs in standard pkgsrc location
-SCONS_ARGS+= docdir=share/doc/gpsd
+# Configure phase arguments:
+SCONS_ARGS+= leapfetch=no # Do not use the net at build time.
+SCONS_ARGS+= target_python=${PYTHONBIN} # Use our python, not "python".
SUBST_CLASSES+= pyenv
-SUBST_MESSAGE.pyenv= Fixing Python path in test script
-# We would choose post-configure, but gpsd's build system blurs
-# configure and build.
-SUBST_STAGE.pyenv= pre-build
-SUBST_FILES.pyenv+= tests/test_misc.py
+SUBST_MESSAGE.pyenv= Fixing path in Python scripts
+SUBST_STAGE.pyenv= pre-build # We don't configure :-(
+SUBST_FILES.pyenv+= gegps
+SUBST_FILES.pyenv+= gpscat
+SUBST_FILES.pyenv+= gpsfake
+SUBST_FILES.pyenv+= gpsprof
+SUBST_FILES.pyenv+= ubxtool
+SUBST_FILES.pyenv+= xgps
+SUBST_FILES.pyenv+= xgpsspeed
+SUBST_FILES.pyenv+= zerk
+SUBST_FILES.pyenv+= test_misc.py
SUBST_SED.pyenv= -e 's,/usr/bin/env python.*$$,${PYTHONBIN},'
# \todo: Determine if CC/CXX are needed (e.g, when using other than gcc).
@@ -68,11 +70,6 @@ do-test:
cd ${WRKSRC} && \
${SETENV} ${INSTALL_ENV} ${SCONSBIN} check
-# Upstream does not document the minimum version; hope this is ok.
-# \todo Pick a ruby version dynamically.
-# Probably, this is not actually a build dependency for releases.
-# BUILD_DEPENDS+= ruby26-asciidoctor>=2.0.0:../../textproc/ruby-asciidoctor
-
# \todo Change to TOOLS or BUILD_DEPENDS after scons support is improved.
.include "../../devel/scons/buildlink3.mk"