From owner-freebsd-current Wed Aug 23 22:54:59 2000 Delivered-To: freebsd-current@freebsd.org Received: from smtp6.mindspring.com (smtp6.mindspring.com [207.69.200.110]) by hub.freebsd.org (Postfix) with ESMTP id 4DC8D37B423; Wed, 23 Aug 2000 22:54:56 -0700 (PDT) Received: from silvia.hip.berkeley.edu (sji-ca1-02.ix.netcom.com [209.109.232.2]) by smtp6.mindspring.com (8.9.3/8.8.5) with ESMTP id BAA06968; Thu, 24 Aug 2000 01:54:48 -0400 (EDT) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.9.3/8.6.9) id WAA73663; Wed, 23 Aug 2000 22:54:45 -0700 (PDT) To: Kris Kennaway Cc: Mike Meyer , "Jacques A. Vidrine" , current@FreeBSD.org Subject: Re: People running with LOCALBASE set to something other than /usr/local? References: From: asami@FreeBSD.org (Satoshi - Ports Wraith - Asami) Date: 23 Aug 2000 22:54:44 -0700 In-Reply-To: Kris Kennaway's message of "Wed, 23 Aug 2000 19:26:37 -0700 (PDT)" Message-ID: Lines: 19 X-Mailer: Gnus v5.7/Emacs 20.7 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * From: Kris Kennaway * 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. Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message