[MacPorts] #54403: ImageMagick: autoconf tries to run non-existing gitversion

MacPorts noreply at macports.org
Tue Jul 4 10:50:11 UTC 2017


#54403: ImageMagick: autoconf tries to run non-existing gitversion
--------------------------+------------------------
  Reporter:  ballapete    |      Owner:  ryandesign
      Type:  defect       |     Status:  closed
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.4.1
Resolution:  wontfix      |   Keywords:
      Port:  ImageMagick  |
--------------------------+------------------------

Comment (by ballapete):

 Replying to [comment:15 raimue]:
 > `git version` is doing something completely different than this
 `gitversion` script. The former outputs the version of git itself and the
 latter is supposed to generate a string representing the current git
 commit, which of course only makes sense when running autoconf in a git
 working tree.

 Yes, obviously, I received that response:

 {{{
 git_rev ()
 {
    d=`date +%Y%m%d`
    c=`git rev-list --full-history --all --abbrev-commit | wc -l | sed -e
 's/^ *//'`
    h=`git rev-list --full-history --all --abbrev-commit | head -1`
    echo ${c}:${h}:${d}
 }
 }}}

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


More information about the macports-tickets mailing list