Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#17870 closed defect (fixed)

autoconf213 uses gawk and m4 but doesn't declare dependencies

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc:
Port: autoconf213

Description

The autoconf213 port (which I need for php5) does not declare dependencies on the gawk and m4 ports but uses them if present, resulting in the following lines appearing in /mp/bin/autoconf213:

: ${M4=/mp/bin/gm4}
: ${AWK=gawk}

Then if you later uninstall m4 or gawk, autoconf213 doesn't work anymore.

I don't know if autoconf213 should declare unconditional dependencies on these ports, or if autoconf213 should be educated to use some other awk or m4 instead, even if MacPorts versions are found.

I note that the newer autoconf port has library dependencies on perl5, m4 and help2man.

Change History (4)

comment:1 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

This problem may be the cause of #17492 as well.

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

/opt/local/bin/autoscan213 begins with the line "#! /opt/local/bin/perl" so perl5 should be a dependency as well. I'll just make all three library dependencies, as in the autoconf port.

comment:3 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed

Added dependencies in r46231.

comment:4 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.