[Lunar-commits] <moonbase-other> gpsd: A little tweaking here. No matter what switches were used it kept tripping over

Dennis Veatch dennisveatch at bellsouth.net
Tue Nov 11 15:23:13 CET 2014


commit 4d8a92f4b910278c38fff8aaf7be90ce68e0d1e2
Author: Dennis Veatch <dennisveatch at bellsouth.net>
Date: Tue, 11 Nov 2014 09:21:48 -0500
URL: https://github.com/lunar-linux/moonbase-other/commit/4d8a92f4b910278c38fff8aaf7be90ce68e0d1e2

gpsd: A little tweaking here. No matter what switches were used it kept tripping over

some ntp stuff. Making it a depends resolved the problem. Also it wants to be in uucp group.
---
  science/gpsd/BUILD   | +6/-4     
  science/gpsd/DEPENDS | +1/-1     
  science/gpsd/DETAILS | +1/-1     
  3 files changed, 8 insertions(+), 6 deletions(-)

--- a/science/gpsd/BUILD
+++ b/science/gpsd/BUILD
@@ -1,5 +1,5 @@
 
-  unset CPPFLAGS
+  unset CPPFLAGS &&
 
   if in_depends $MODULE qt4 ; then
     . /etc/profile.d/qt4.rc
@@ -8,9 +8,11 @@
 # implicit_link=no is required else ntpshm sirf garmin options
 # will cause the make to fail with linking errors like this;
 # defined in DSO /lib64/libm.so.6 so try adding it to the linker command line
-  scons prefix=/usr              \
-               implicit_link=no  \
-               $OPTS            &&
+  scons prefix=/usr       \
+        implicit_link=no  \
+        gpsd_group=uucp   \
+        ntpshm=yes        \
+        $OPTS            &&
 
   prepare_install   &&
   scons install     &&
--- a/science/gpsd/DEPENDS
+++ b/science/gpsd/DEPENDS
@@ -1,7 +1,7 @@
+depends ntp
 depends chrpath
 depends scons
 
-optional_depends "ntp"           "ntpshm=yes" "ntpshm=no" "for NTP time hinting support"
 optional_depends "Python"        "python=yes" "python=no" "Python support and modules"
 optional_depends "ncurses"       "ncurses=yes" "ncurses=no" "for ncurses terminal support"
 optional_depends "%UDEV"         "" "" "for udev (hotplug) support"
--- a/science/gpsd/DETAILS
+++ b/science/gpsd/DETAILS
@@ -1,7 +1,7 @@
           MODULE=gpsd
          VERSION=3.11
           SOURCE=$MODULE-$VERSION.tar.gz
-   SOURCE_URL[0]=http://download.savannah.gnu.org/releases/gpsd/
+      SOURCE_URL=http://download.savannah.gnu.org/releases/gpsd/
       SOURCE_VFY=sha1:9ba8a9bcf55f6d82b839cbddf3d9be64fdbfd06a
         WEB_SITE=http://catb.org/gpsd/
          ENTERED=20070609




More information about the Lunar-commits mailing list