| Summary: | Inconsistency between bsd.port.mk and porters-handbook for LIB_DEPENDS | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Documentation | Reporter: | Vasil Dimov <vd> | ||||
| Component: | Books & Articles | Assignee: | Pav Lucistnik <pav> | ||||
| Status: | Closed FIXED | ||||||
| Severity: | Affects Only Me | ||||||
| Priority: | Normal | ||||||
| Version: | Latest | ||||||
| Hardware: | Any | ||||||
| OS: | Any | ||||||
| Attachments: |
|
||||||
State Changed From-To: open->closed I committed a similar patch, thank you for noticing this! Responsible Changed From-To: freebsd-doc->pav Pav did it |
Porters-handbook states that lib part in LIB_DEPENDS (in ports' Makefiles) is passed as argument to the command: ldconfig -r | grep -wF which is incorrect, especially the -F flag and the state that it may not contain regular expressions. In bsd.port.mk ldconfig -r | grep -vwF -e "${PKGCOMPATDIR}" | grep -qwE -e "-l$pattern" is used and I think that grep -vwF -e "${PKGCOMPATDIR}" and the -q flag to the second grep call can be omitted for simplicity. $pattern is lib part of LIB_DEPENDS with dots escaped.