[MacPorts] #50288: UPDATE: gpsd-3.16

MacPorts noreply at macports.org
Fri Feb 12 01:40:35 PST 2016


#50288: UPDATE: gpsd-3.16
---------------------+--------------------------
  Reporter:  fw@…    |      Owner:  ryandesign@…
      Type:  update  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:  haspatch
      Port:  gpsd    |
---------------------+--------------------------

Comment (by mojca@…):

 I do sympathize with this to some extent, but it's against the policy and
 general practice of most other ports.

 Running `reinplace` is simple enough and doesn't require writing explicit
 patches. For example:
 {{{
 fs-traverse f ${worksrcpath} {
     if {[string match "*.py" "$f"]} {
         reinplace "s|/usr/bin/env python2|${python_bin}|" $f
     }
 }
 }}}
 On top of that, if the user indeed picked python2.6 with `port select` and
 `gpsd` depends on `py-pygtk`, but the port only installed `py27-pygtk`, it
 will fail to work because the port doesn't guarantee in any way that
 `py26-pygtk` is present. Worse yet, let's assume that user has selected
 `port select python2`, but has another instance of `python2` binary that
 comes before python provided by MacPorts. It would fail just as well
 because that other `python2` won't have the required dependencies.

 I would suggest you to raise the question on the `macports-dev` mailing
 list and ask other developers for opinion.

-- 
Ticket URL: <https://trac.macports.org/ticket/50288#comment:10>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list