Opened 15 years ago

Closed 15 years ago

#17809 closed enhancement (fixed)

RFE: Add correct dependencies for use_* in configure

Reported by: raimue (Rainer Müller) Owned by: raimue (Rainer Müller)
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 (Rainer Müller))

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 (1)

patch-macports-use_autoconf-deps.tcl (2.8 KB) - added by raimue (Rainer Müller) 15 years ago.
Missed automake.cmd

Download all attachments as: .zip

Change History (8)

comment:1 Changed 15 years ago by raimue (Rainer Müller)

Description: modified (diff)
Status: newassigned

comment:2 Changed 15 years ago by raimue (Rainer Müller)

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

Changed 15 years ago by raimue (Rainer Müller)

Missed automake.cmd

comment:3 Changed 15 years ago by jmroot (Joshua Root)

Component: portsbase

comment:4 Changed 15 years ago by jmroot (Joshua Root)

What's still missing here?

comment:5 Changed 15 years ago by raimue (Rainer Müller)

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.

comment:6 Changed 15 years ago by raimue (Rainer Müller)

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.

comment:7 Changed 15 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

De-bittrotted and applied in r55245.

Note: See TracTickets for help on using tickets.