ports/58172: Fix-up of GPSMan for tk84

David Wolfskill david at catwhisker.org
Fri Oct 17 21:50:20 UTC 2003


>Number:         58172
>Category:       ports
>Synopsis:       Fix-up of GPSMan for tk84
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 17 14:50:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     David Wolfskill
>Release:        FreeBSD 4.9-RC i386
>Organization:
Wolfskill & Dowling Residence
>Environment:
System: FreeBSD bunrab.catwhisker.org 4.9-RC FreeBSD 4.9-RC #52: Sun Oct 5 08:52:41 PDT 2003 root at freebeast.catwhisker.org:/common/S1/obj/usr/src/sys/BUNRAB i386


>Description:
	Now that astro/gpsman/Makefile says that GPSMan depends on
	wish8.4, the fact that as distributed, it actually depends on
	wish 8.3 can prevent the application from working at all.

>How-To-Repeat:
	Build/install the astro/gpsman port on a machine that does not
	already have wish8.3 installed.  When you try to run it,
	you should get:

	localhost(4.9-RC)[4] which gpsman
	/usr/local/bin/gpsman
	localhost(4.9-RC)[5] !$
	gpsman
	exec: wish8.3: not found
	localhost(4.9-RC)[6] 

	which isn't especially encouraging.

	When I eyeballed Kris' change to the port for tk84, I failed to
	pay attention to the "patch" files.  :-(  Now that I have my
	laptop back, and it has a working serial port, I had occasion
	to try the port.  And since the laptop's disk drive had started
	failing, I'm doing it on a fresh drive -- one that didn't have
	wish8.3.

	I suppose one might create a "magic symlink," but that's really
	a bit too gross to take seriously.  :-}
>Fix:

Index: files/patch-exerciser.tcl
===================================================================
RCS file: /cvs/freebsd/ports/astro/gpsman/files/patch-exerciser.tcl,v
retrieving revision 1.1
diff -u -r1.1 patch-exerciser.tcl
--- files/patch-exerciser.tcl	23 Dec 2001 10:34:44 -0000	1.1
+++ files/patch-exerciser.tcl	17 Oct 2003 21:23:42 -0000
@@ -5,7 +5,7 @@
  #!/bin/bash
  #\
 -exec wish8.2 "$0" ${1+"$@"}
-+exec wish8.3 "$0" ${1+"$@"}
++exec wish8.4 "$0" ${1+"$@"}
  
 -set SRLPORT /dev/ttyS0
 +set SRLPORT /dev/cuaa0
Index: files/patch-gpsman.tcl
===================================================================
RCS file: /cvs/freebsd/ports/astro/gpsman/files/patch-gpsman.tcl,v
retrieving revision 1.2
diff -u -r1.2 patch-gpsman.tcl
--- files/patch-gpsman.tcl	30 Mar 2003 04:31:21 -0000	1.2
+++ files/patch-gpsman.tcl	17 Oct 2003 21:23:56 -0000
@@ -3,9 +3,9 @@
 +++ gpsman.tcl	Mon Mar 10 17:28:28 2003
 @@ -1,6 +1,6 @@
  #!/bin/sh
- # This is a Tcl/Tk script to be interpreted by wish (Tk8.3 or better): \
+ # This is a Tcl/Tk script to be interpreted by wish (Tk8.4 or better): \
 -exec wish "$0" "$@"
-+exec wish8.3 "$0" "$@"
++exec wish8.4 "$0" "$@"
  
  #
  #  gpsman --- GPS Manager: a manager for GPS receiver data

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list