ports/93601: new ports' feature: make missing
Aleksander Fafula
alex at fafula.com
Mon Feb 20 18:00:19 UTC 2006
>Number: 93601
>Category: ports
>Synopsis: new ports' feature: make missing
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Mon Feb 20 18:00:11 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator: Aleksander Fafula
>Release: FreeBSD 5.4-STABLE i386
>Organization:
BSDGuru.org, Fafula.com
>Environment:
System: FreeBSD fafula.com
>Description:
It is a new feature that enables you to see what you would have
to install in particular port. It compares what you have already
installed and what is _missing_ and needs to be installed as a dependiency
(it doesn't care if RUN/BUILD or any other, it shows what is missing).
You can invoke it by typing "make missing". It shows very simple output
but can be improved if accepted!
>How-To-Repeat:
Example:
$ cd /usr/ports/polish/sms2 && make missing
databases/gdbm
devel/pcre++
security/openssl
$
>Fix:
Patch against bsd.port.mk
4817,4826d4816
< # Show missing dependiencies
< missing:
< @for dir in $$(${ALL-DEPENDS-LIST}); do \
< THISORIGIN=$$(${ECHO_CMD} $$dir | ${SED} 's,${PORTSDIR}/,,'); \
< installed=$$(${PKG_INFO} -qO $${THISORIGIN}); \
< if [ -z $$installed ]; then \
< ${ECHO_CMD} $$THISORIGIN; \
< fi \
< done
<
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list