Ticket #11602 (closed defect: worksforme)
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
Change History
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.
Note: See
TracTickets for help on using
tickets.

