Date: Wed, 10 Jun 2009 12:44:42 -0800 From: Mel Flynn <mel.flynn+fbsd.ports@mailing.thruhere.net> To: freebsd-ports@freebsd.org Cc: ports@freebsd.org, Wesley Shields <wxs@freebsd.org>, python@freebsd.org, miwi@freebsd.org Subject: Re: Python 2.6 update with portmaster Message-ID: <200906101244.43479.mel.flynn%2Bfbsd.ports@mailing.thruhere.net> In-Reply-To: <20090610132647.GC40713@atarininja.org> References: <20090610132647.GC40713@atarininja.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wednesday 10 June 2009 05:26:47 Wesley Shields wrote: > It will be quite slow compared to using pkg_which (the normal method) so > be patient. Does pkg_which use the pkgdb? If so, maybe we could have pkg_info grow a cache for future encounters, or we can create one: % grep -v '^@' /var/db/pkg/*/+CONTENTS >/tmp/pkg_info.cache % FOUND=`sed -ne 's,^/var/db/pkg/\(.*\)/+CONTENTS:lib/python2.6/site- packages/xcbgen/error.py$,\1,p' /tmp/pkg_info.cache`; echo $FOUND xcb-proto-1.4 So: 's,^${PKG_DBDIR}/\(.*\)/+CONTENTS:$$f$$,\1,p' > [1]: http://people.freebsd.org/~wxs/python26-portmaster.diff What's this for? +JOBS= sysctl -n kern.smp.cpus Should be != if it's gonna be used, but it's not referenced anywhere else that I can see. -- Mel
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906101244.43479.mel.flynn%2Bfbsd.ports>