Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Feb 2006 18:51:56 +0100 (CET)
From:      Aleksander Fafula <alex@fafula.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/93601: new ports' feature: make missing 
Message-ID:  <20060220175156.C0AE68A073@fafula.com>
Resent-Message-ID: <200602201800.k1KI0Cgu012157@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060220175156.C0AE68A073>