New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #11602 (closed defect: worksforme)

Opened 6 years ago

Last modified 3 years ago

depends_lib (silently) only takes one argument

Reported by: john@… Owned by: macports-tickets@…
Priority: High Milestone:
Component: base Version:
Keywords: Cc:
Port:

Description

depends_lib (and presumably, though I haven't checked, depends_build, ...) check only one dependency and ignore anything else you may supply. Thus if you have the line:

depends_lib port:teTeX port:xkeyval

everything will be happy as long as teTeX is installed (until you get to the build phase that requires xkeyval).

I would prefer it if depends_lib took multiple dependencies (it's more in line with distfile...) but if it only takes one it should complain if it gets more than one.

Attachments

Portfile (1.2 KB) - added by pipping@… 6 years ago.

Change History

Changed 6 years ago by pipping@…

comment:1 Changed 6 years ago by pipping@…

  • Status changed from new to closed
  • Resolution set to worksforme
  • Milestone changed from MacPorts 1.5 to MacPorts 1.4

works for me - i've attached a sample portfile (an altered nano port) - i have ncurses but not svk, hence macports starts to build svk, everything in order.

comment:2 Changed 6 years ago by nox@…

  • Priority changed from Important to High

comment:3 Changed 6 years ago by jmpp@…

  • Milestone changed from MacPorts 1.4 to MacPorts base bugs

comment:4 Changed 4 years ago by toby@…

  • Milestone changed from MacPorts base bugs to MacPorts Future

Milestone MacPorts base bugs deleted

comment:5 Changed 3 years ago by jmr@…

  • Milestone MacPorts Future deleted
Note: See TracTickets for help on using tickets.