Date: Wed, 21 Jul 2004 10:06:48 +0200 From: Oliver Eikemeier <eikemeier@fillmore-labs.com> To: David Julien <david.julien@gmail.com> Cc: ports@freebsd.org Subject: Re: Are files and directories mandatory in pkg-plist ? Message-ID: <EA75EC14-DAEC-11D8-BA2D-00039312D914@fillmore-labs.com> In-Reply-To: <abcef9c0407210043371a8895@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
David Julien wrote: > [...] > There are other ocaml packages which seem to be in the same case, for > instance ocaml-pcre. To deinstall the port they delete the added line > in ld.conf thanks to a "grep -v" in the pkg-install file (why not > pkg-deinstall ?). > > I have tested my port with these modifications and it seems to work > correctly now ! Thank you. ocaml-pcre does PKGDEINSTALL= ${PKGINSTALL} which you might want to avoid. Use pkg-deinstall when possible. Another nit is that you want to generate the `.tmp' file first (perhaps even by using mktemp), and move it in place later, so a failed grep won't corrupt your database. -Oliver
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EA75EC14-DAEC-11D8-BA2D-00039312D914>