Skip site navigation (1)Skip section navigation (2)
Date:      23 Aug 2000 22:54:44 -0700
From:      asami@FreeBSD.org (Satoshi - Ports Wraith - Asami)
To:        Kris Kennaway <kris@FreeBSD.org>
Cc:        Mike Meyer <mwm@mired.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:  <vqc7l978aqj.fsf@silvia.hip.berkeley.edu>
In-Reply-To: Kris Kennaway's message of "Wed, 23 Aug 2000 19:26:37 -0700 (PDT)"
References:  <Pine.BSF.4.21.0008231925560.92841-100000@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
 * 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.

Satoshi


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?vqc7l978aqj.fsf>