pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/geography/gpsd



Module Name:    pkgsrc
Committed By:   gdt
Date:           Wed Aug 19 12:30:04 UTC 2020

Modified Files:
        pkgsrc/geography/gpsd: Makefile

Log Message:
geography/gpsd: Reapply Makefile commit

This logically belongs with the update to 3.21, but the Makefile part
ended up on the branch.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 pkgsrc/geography/gpsd/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/geography/gpsd/Makefile
diff -u pkgsrc/geography/gpsd/Makefile:1.49 pkgsrc/geography/gpsd/Makefile:1.50
--- pkgsrc/geography/gpsd/Makefile:1.49 Mon Aug 17 20:18:53 2020
+++ pkgsrc/geography/gpsd/Makefile      Wed Aug 19 12:30:04 2020
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.49 2020/08/17 20:18:53 leot Exp $
+# $NetBSD: Makefile,v 1.50 2020/08/19 12:30:04 gdt Exp $
 
-DISTNAME=      gpsd-3.20
-PKGREVISION=   3
+DISTNAME=      gpsd-3.21
 CATEGORIES=    geography
 MASTER_SITES=  http://download-mirror.savannah.gnu.org/releases/gpsd/
 # will probably switch to https://gitlab.com/gpsd/gpsd/releases
@@ -35,22 +34,21 @@ DEPENDS+=   ${PYPKGPREFIX}-serial-[0-9]*:.
 
 CFLAGS.SunOS=  -DLOG_PERROR=0
 
-# 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".
+## 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
 
 SUBST_CLASSES+=                pyenv
-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_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_SED.pyenv=       -e 's,/usr/bin/env python.*$$,${PYTHONBIN},'
 
 # \todo: Determine if CC/CXX are needed (e.g, when using other than gcc).
@@ -70,6 +68,11 @@ 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"
 



Home | Main Index | Thread Index | Old Index