I use it:
Shell:~ >: cat /etc/mk.conf
SUDO=/usr/bin/sudo
WRKOBJDIR=/usr/obj/ports
DISTDIR=/usr/distfiles
PACKAGE_REPOSITORY=/usr/packages
_MASTER_SITE_OPENBSD?= \
ftp://ftp.freebsdchina.org/pub/OpenBSD/distfiles/${DIST_SUBDIR}/ \
ftp://ftp.openbsd.org/pub/OpenBSD/distfiles/${DIST_SUBDIR}/ \
ftp://ftp.tw.openbsd.org/pub/OpenBSD/distfiles/${DIST_SUBDIR}/
XENOCARA_RERUN_AUTOCONF=Yes
Shell:~ >:
--
Best Regards
----
My Chaos: https://n23.appspot.com
On Fri, Nov 14, 2008 at 07:27, Juan Miscaro <[EMAIL PROTECTED]> wrote:
> I'm scripting a reinstall routine for my ports on 4.3. When I come to
> 'make reinstall' the thing is trying to download from the $PKG_PATH
> that I have set earlier in my script and, of course, does not find the
> files it needs. Removing that variable and I get "No packages
> available in the PKG_PATH".
>
> Relevant snippet:
>
> export SUBDIR=$(pkg_info -Pq postfix)
> cd /usr/ports
> make reinstall
>
> Any ideas?
>
> ~juan