pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/36641 (bug: pkg_chk -g requires pkgsrc source tree)



> Synopsis: bug: pkg_chk -g requires pkgsrc source tree

> State-Changed-From-To: open->closed
> State-Changed-By: tnn%narn.netbsd.org@localhost
> State-Changed-When: Sun, 17 Feb 2008 00:55:58 +0000
> State-Changed-Why:
> committed

pkg_chk 1.92 still requires pkgsrc sourde tree with -g option..

lab305-monster:~# /usr/pkg/sbin/pkg_chk -g
*** Unable to locate PKGSRCDIR (/srv/pkgsrc)
lab305-monster:~# 


The following fragment should be fixed.

    173     if [ ! -d $PKGSRCDIR -a \( -z "$opt_b" -o -n "$opt_s" \) ] ; then
    174         fatal "Unable to locate PKGSRCDIR (${PKGSRCDIR:-not set})"
    175     fi

-- 
Best regards, Aleksey Cheusov.


Home | Main Index | Thread Index | Old Index