[MacPorts] #56627: Upstream mtr package has wrong version

MacPorts noreply at macports.org
Fri Jun 8 12:57:17 UTC 2018


#56627: Upstream mtr package has wrong version
----------------------+--------------------
  Reporter:  dgilman  |      Owner:  (none)
      Type:  defect   |     Status:  new
  Priority:  Normal   |  Milestone:
 Component:  ports    |    Version:
Resolution:           |   Keywords:
      Port:  mtr      |
----------------------+--------------------

Comment (by dgilman):

 The git-version-gen function is weird and the --fallback flag only works
 when git itself is not installed. But this patch puts the right version
 number in configure and the resulting binary:

 --- ../mtr/configure.ac 2018-06-08 08:51:54.610437193 -0400
 +++ configure.ac        2018-06-08 08:52:23.359539561 -0400
 @@ -1,6 +1,6 @@
  AC_PREREQ([2.59])
  AC_INIT([mtr],
 -  [m4_esyscmd([build-aux/git-version-gen .tarball-version])],
 +  [0.92])],
    [R.E.Wolff at BitWizard.nl], [],
    [http://www.BitWizard.nl/mtr/])
  AC_CONFIG_SRCDIR([ui/mtr.c])

-- 
Ticket URL: <https://trac.macports.org/ticket/56627#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list