New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #17809 (closed enhancement: fixed)

Opened 3 years ago

Last modified 3 years ago

RFE: Add correct dependencies for use_* in configure

Reported by: raimue@… Owned by: raimue@…
Priority: Normal Milestone: MacPorts 1.8.0
Component: base Version: 1.7.0
Keywords: configure dependencies use_autoconf use_autoreconf use_automake use_xmkmf Cc:
Port:

Description (last modified by raimue@…) (diff)

There are some options available to run configuration script generators before configure.

  • use_autoconf
  • use_autoreconf
  • use_automake
  • use_xmkmf

All of them require tools to be provided by the system or to be installed by MacPorts.

Currently, the dependencies are added in each Portfile using such an option, but it would be better to do it automatically.

Attachments

patch-macports-use_autoconf-deps.tcl Download (2.8 KB) - added by raimue@… 3 years ago.
Missed automake.cmd

Change History

Changed 3 years ago by raimue@…

  • status changed from new to assigned
  • description modified (diff)

Changed 3 years ago by raimue@…

See r43783, r43784, r43785 and  this thread on macports-dev for current status.

Changed 3 years ago by raimue@…

Missed automake.cmd

Changed 3 years ago by jmr@…

  • component changed from ports to base

Changed 3 years ago by jmr@…

What's still missing here?

Changed 3 years ago by raimue@…

The dependency could be wrong if autoconf.cmd is being changed to something else than autoconf.

For example:

use_autoconf yes
autoconf.cmd autoconf213

Would require to replace the dependency on autoconf with autoconf213 in the Portfile by using -delete/-append. And of course this is also valid for the other commands.

There is probably no easy solution to this in the code, so it should at least be documented that way in the guide.

Changed 3 years ago by raimue@…

As of r55116 lint will warn if the same dependency is used multiple times which should help to update dependencies in ports with use_autoconf/use_automake/etc. after 1.8.0 release.

Changed 3 years ago by jmr@…

  • status changed from assigned to closed
  • resolution set to fixed

De-bittrotted and applied in r55245.

Note: See TracTickets for help on using tickets.