Date: Wed, 20 Sep 2000 02:29:14 -0700 (PDT) From: asami@FreeBSD.org (Satoshi - Ports Wraith - Asami) To: jkh@FreeBSD.org, ports@FreeBSD.org, hetzels@westbend.net Subject: Re: PR ports/13649, ports/13650 (conflicts) Message-ID: <200009200929.e8K9TEH67316@silvia.hip.berkeley.edu> In-Reply-To: <200009192342.e8JNgMj64933@silvia.hip.berkeley.edu> (asami@FreeBSD.org) References: <200009192342.e8JNgMj64933@silvia.hip.berkeley.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
* Please review the following patch to pkg_install tools to add two * things: -C (conflicts) support and wildcard matching (also used for * conflict checking, but it will also enable users to do things like * "pkg_info -e 'emacs*'" to see which, if any, emacs ports are * installed). Oops, found one bug...it's what's been causing the pkg_add: can't open dependency file '/var/db/pkg/m4-1.4/+REQUIRED_BY/+REQUIRED_BY'! type of errors in the most recent (aborted) log. Please comment out the two lines: === strcat(contents, "/"); strcat(contents, REQUIRED_BY_FNAME); === near the end of the add/perform.c patch. "/+REQUIRED_BY" is already added a few lines above. Also, I noticed this patch makes pkg_add -f exit with an error when the package is already installed. Looking at the manual, this is probably the correct thing to do (the manual only says it will ignore prerequisite or requirement failures). I will adjust my package build scripts accordingly. It is easy, I just need to do a "pkg_info -e" first. Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200009200929.e8K9TEH67316>