| Summary: | BUILD_DEPENDS can not contain templates | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Mikhail T. <freebsd-2024> |
| Component: | Ports Framework | Assignee: | Port Management Team <portmgr> |
| Status: | Closed Not A Bug | ||
| Severity: | Affects Only Me | CC: | eadler |
| Priority: | --- | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
This is not a bug, and doing so for LIB_DEPENDS is not valid, you are wrong. (In reply to Antoine Brodin from comment #1) > and doing so for LIB_DEPENDS is not valid, you are wrong. Then this is a reversal of the approach in existence for many years. See Bug 34126 -- you were just beginning to use FreeBSD, when this was implemented, Antoine. And then, there is Bug 114167, where eadler@ says, that "major effort" was gone into making sure, no port is being too strict about its shared-library requirements. One of us is wrong, indeed. *_DEPENDS do not support wildcards. It will be implemented, maybe, later, with provides/require. |
Though devel/git builds just fine with docbook-4.4, it currently insists on 4.5: BUILD_DEPENDS+=xmlto:${PORTSDIR}/textproc/xmlto \ asciidoc:${PORTSDIR}/textproc/asciidoc \ ${LOCALBASE}/share/xml/docbook/4.5:${PORTSDIR}/textproc/docbook-xml Trying to replace 4.5 above with 4.* does not work -- the build checks for literal '4.*' instead of trying to find anything matching the template. It should be possible to specify such templates for BUILD_DEPENDS -- just as it is possible to do so for LIB_DEPENDS.