Date: Fri, 15 Sep 2000 20:30:24 -0500 (CDT) From: Doug Lee <dgl@visi.com> To: freebsd-questions@freebsd.org Subject: Better way to update ports using pkg_version -c ? Message-ID: <Pine.BSF.4.21.0009152023160.339-100000@kirk.dsl.visi.com>
next in thread | raw e-mail | index | archive | help
pkg_version -c is a BIG help with updating ports, but I have noticed two problems and wonder if there is a good way to fix them permanently. (1) Since no `make clean' is run, some ports' `make' processes just return success immediately. The net result is that that port is summarily deleted and not replaced. (I lost procmail while ago that way and had an immediate mail delivery problem. :-) (2) I tried to solve (1) by adding `make clean' before `make' in each appropriate line of the script generated by `pkg_version -c' . However, `make clean' cleans all ports required by the port being cleaned directly. This caused things like gettext to get rebuilt several times as my ports were being updated, which is of course a major waste of time. I could of course move all the `make clean's to the top of the script, but I wonder if there's a version of `make clean' for ports which does not descend into dependency ports when cleaning. Presumably, dependency ports would not need to be rebuilt at all anyway, or they'd show up in the `pkg_version -c' script directly. Thanks in advance for any suggestions. To whoever thought of the -c option to pkg_version, thanks much! Until I read about that, updating ports was an annoying drudgery for me... -- Doug Lee dgl@visi.com http://www.visi.com/~dgl To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0009152023160.339-100000>