Determining which port installed a build dependency
Michael C. Shultz
ringworm at inbox.lv
Sun Apr 18 18:30:32 PDT 2004
On Sunday 18 April 2004 06:14 pm, Randy Pratt wrote:
> Is there a way to determine which port installed a build dependency?
>
> I was using pkg_cutleaves to weed out some unused ports but I'd
> prefer not to remove build dependencies if at all possible. Here is
> an example of a build dependency which is not a run dependency:
>
> % cd /usr/ports/net/cvsup
>
> % make build-depends-list
> /usr/ports/lang/ezm3
> /usr/ports/x11/XFree86-4-libraries
>
> % make run-depends-list
> /usr/ports/x11/XFree86-4-libraries
>
> It is installed:
>
> % pkg_info | grep ezm3
> ezm3-1.1_1 Easier, more portable Modula-3 ...
>
> If I try to find which port was responsible for installing ezm3
> I get no results:
>
> % pkg_info -R ezm3-1.1_1
> Information for ezm3-1.1_1:
>
> %
>
> Is there some slick method for finding this information? I'd prefer
> to keep the build dependencies for the next portupgrade.
>
> The pkg_info(1) man page doesn't make it clear that the -R option
> only works for run dependencies.
>
> Searching with google didn't turn up any useful results either.
>
> Thanks,
>
> Randy
> _______________________________________________
> freebsd-ports at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"
Here is the output on my system by running "make search key=ezm3"
from the usr/ports directory. As you can see ezm is a build dependancy for
cvsup .
-Mike
Port: ezm3-1.1_1
Path: /usr/ports/lang/ezm3
Info: Easier, more portable Modula-3 distribution for building CVSup
Maint: jdp at FreeBSD.org
Index: lang
B-deps: expat-1.95.7 gettext-0.13.1_1 gmake-3.80_2 libiconv-1.9.1_3
R-deps:
Port: cvsup-16.1h
Path: /usr/ports/net/cvsup
Info: General network file distribution system optimized for CVS (GUI
version)
Maint: jdp at FreeBSD.org
Index: net devel
B-deps: XFree86-libraries-4.3.0_6 expat-1.95.7 ezm3-1.1_1 fontconfig-2.2.2,1
freetype2-2.1.7_2 imake-4.3.0_2 pkgconfig-0.15.0_1
R-deps: XFree86-libraries-4.3.0_6 expat-1.95.7 fontconfig-2.2.2,1
freetype2-2.1.7_2 imake-4.3.0_2 pkgconfig-0.15.0_1
Port: cvsup-without-gui-16.1h
Path: /usr/ports/net/cvsup-without-gui
Info: General network file distribution system optimized for CVS (non-GUI
version)
Maint: jdp at FreeBSD.org
Index: net devel
B-deps: ezm3-1.1_1
R-deps:
More information about the freebsd-ports
mailing list