[MacPorts] #47684: tmux @2.0_0: create tmux-devel subport (was: tmux @2.0 patch attached to allow compilation from git)

MacPorts noreply at macports.org
Fri May 8 19:02:10 PDT 2015


#47684: tmux @2.0_0: create tmux-devel subport
--------------------------+--------------------------------
  Reporter:  tessarek@…   |      Owner:  macports-tickets@…
      Type:  enhancement  |     Status:  reopened
  Priority:  Normal       |  Milestone:
 Component:  ports        |    Version:  2.3.3
Resolution:               |   Keywords:  haspatch
      Port:  tmux         |
--------------------------+--------------------------------
Changes (by larryv@…):

 * status:  closed => reopened
 * resolution:  wontfix =>


Comment:

 I’ve attached [[attachment:tmux-devel.patch|a patch]] that adds a `tmux-
 devel` subport. To try it, patch the `tmux` portfile and run `port sync`.

 - It fetches a specific Git commit to ensure reproducibility. To update
 the port, you’ll just replace the SHA1 and advance the date inside
 `version`.
 - It fetches a SourceForge snapshot distfile, allowing our mirroring
 infrastructure to… uh… mirror it. (We cannot mirror Git repositories.)
 - It runs `autoreconf --install --verbose --force` instead of
 `./autogen.sh`. Here’s the output I see; it seems to (more or less)
 correspond to the commands executed by `autogen.sh`:
 {{{
 autoreconf: Entering directory `.'
 autoreconf: configure.ac: not using Gettext
 autoreconf: running: /opt/local/bin/aclocal --force
 autoreconf: configure.ac: tracing
 autoreconf: configure.ac: creating directory etc
 autoreconf: configure.ac: not using Libtool
 autoreconf: running: /opt/local/bin/autoconf --force
 autoreconf: configure.ac: not using Autoheader
 autoreconf: running: /opt/local/bin/automake --add-missing --copy --force-
 missing
 configure.ac:19: installing 'etc/compile'
 configure.ac:11: installing 'etc/config.guess'
 configure.ac:11: installing 'etc/config.sub'
 configure.ac:9: installing 'etc/install-sh'
 configure.ac:9: installing 'etc/missing'
 Makefile.am: installing 'etc/depcomp'
 autoreconf: Leaving directory `.'
 }}}

 The subport conflicts with `tmux`, so a user can only have one or the
 other active at any particular time.
 {{{
 % sudo port deactivate tmux
 % sudo port install tmux-devel
 }}}

 Does this look good to you?

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


More information about the macports-tickets mailing list