Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 2004 18:26:44 -0700
From:      "Michael C. Shultz" <ringworm@inbox.lv>
To:        freebsd-ports@freebsd.org
Subject:   Re: Determining which port installed a build dependency
Message-ID:  <200404181826.45079.ringworm@inbox.lv>
In-Reply-To: <20040418211417.78362961.rpratt1950@earthlink.net>
References:  <20040418211417.78362961.rpratt1950@earthlink.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@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@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@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@FreeBSD.org
Index:  net devel
B-deps: ezm3-1.1_1
R-deps:



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