On Sun, Feb 12, 2006 at 03:51:50PM +0100, Sebastian Stach wrote:
> When using pkg_version with the -o argument to print the origin
> instead of the package name it doesn't work correct.
> 
> # pkg_version -o
> (output stripped)
> x11/xorg                            =
> x11/xorg                            =
> x11/xorg                            =
> (output stripped)
> 
> The output should be:
> 
> # pkg_version -o
> (output stripped)
> x11/xorg                            =
> x11/xorg-clients                    =
> x11/xorg-documents                  =
> (output stripped)
> 
> Looking at the code in "/usr/src/usr.sbin/pkg_install/version/perform.c"
> in function "show_version" pkg_version removes everything after the last
> "-" from the origin.

[snip]

Yeah, it seems I broke it in rev. 1.13, sorry for that, the fix will
be committed.

-Kirill
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to