thanks for that (both of you). perhaps some change to pkg_add(1) is in order
to fix that line.

On Sun, 14 Dec 2014 15:49:18 -0700 "Anthony J. Bentley" <[email protected]> 
wrote:
> Jiri B writes:
> > On Sun, Dec 14, 2014 at 05:24:46PM -0500, [email protected] wrote:
> > > in pkg_add(1) there is this line:
> > > 
> > >      4.   All package dependencies (from @depend and @wantlib directives; 
> > > s
> > ee
> > >           pkg_create(1)) are read from the packing-list.  If any of these
> > > 
> > > but there is no reference to @wantlib in pkg_create(1) (or any other 
> > > port/p
> > kg
> > > related manpage i checked).
> > 
> > $ mandoc -Tascii /usr/share/man/man1/pkg_create.1 | col -b | \
> >   sed -n '/^[[:blank:]]*@wantlib/,/^$/p'  
> >      @wantlib libspec
> >              Package needs a shared library to work.  libspec is
> >              `name.major.minor' or `path/name.major.minor'.  The package 
> > won'
> > t
> >              be installed unless a library with the same name, the exact 
> > same
> >              major number and at least the same minor number can be located.
> >              A library without path is searched through dependent packages
> >              under the same localbase, then in the system libraries under
> >              /usr/lib and /usr/X11R6/lib.  A library with a path is only
> >              searched through dependent packages, that path being relative 
> > to
> >              localbase.

does this paragraph still hold true though?

> 
> This text no longer exists in pkg_create(1) since revision 1.85. Well,
> it does, but under -W. @wantlib is now documented under package(5)
> because it's meant to be an internal annotation, not for users.
> 
> -- 
> Anthony J. Bentley
> 

Reply via email to