Satoshi - Ports Wraith - Asami writes:
> * From: Kris Kennaway <[EMAIL PROTECTED]>
> * 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message