Opened 16 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)
Change History (8)
comment:1 Changed 16 years ago by raimue (Rainer Müller)
Description: | modified (diff) |
---|---|
Status: | new → assigned |
comment:2 Changed 16 years ago by raimue (Rainer Müller)
Changed 16 years ago by raimue (Rainer Müller)
Attachment: | patch-macports-use_autoconf-deps.tcl added |
---|
Missed automake.cmd
comment:3 Changed 15 years ago by jmroot (Joshua Root)
Component: | ports → base |
---|
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: | assigned → closed |
De-bittrotted and applied in r55245.
See r43783, r43784, r43785 and this thread on macports-dev for current status.