Date: Thu, 24 Aug 2000 08:41:50 -0500 (CDT) From: Mike Meyer <mwm@mired.org> To: asami@FreeBSD.ORG (Satoshi - Ports Wraith - Asami) Cc: Kris Kennaway <kris@FreeBSD.ORG>, "Jacques A. Vidrine" <n@nectar.com>, current@FreeBSD.ORG Subject: Re: People running with LOCALBASE set to something other than /usr/local? Message-ID: <14757.9758.636019.42099@guru.mired.org> In-Reply-To: <vqc7l978aqj.fsf@silvia.hip.berkeley.edu> References: <Pine.BSF.4.21.0008231925560.92841-100000@freefall.freebsd.org> <vqc7l978aqj.fsf@silvia.hip.berkeley.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
Satoshi - Ports Wraith - Asami writes: > * From: Kris Kennaway <kris@FreeBSD.org> > * On Wed, 23 Aug 2000, Mike Meyer wrote: > * > How does it decide whether or not a package conforms? > * Probably by looking for files which get installed in /usr/local or > * /usr/X11R6 instead of ${LOCALBASE} or ${X11BASE} :-) > Actually, it's easier than that -- just do a "make package". If files > go to anyplace else than ${PREFIX}, pkg_create will fail. :) > However, note that you need to move LOCALBASE and X11BASE for *all* > ports, not one. (For instance, you can't expect an emacs-lisp package > to install correctly if you just try to move it while emacs is still > in /usr/local.) Set LOCALBASE and X11BASE in /etc/make.conf and > rebuild everything, including X. There's a test that's almost that simple that works even if you haven't moved PREFIX for all ports. Since the pkg +CONTENTS list is derived from PREFIX and the PLIST, "make install" followed by "make deinstall" will complain about not being able to delete files that weren't installed in the proper place. <mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?14757.9758.636019.42099>