Subject: Re: minimum slackware package requirement
To: Louis Guillaume <lguillaume@berklee.edu>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 12/18/2003 15:01:36
On Thu, 18 Dec 2003, Louis  Guillaume wrote:

> I read something recently about setting LOCALBASE=/usr for Linux. Is
> this as unwise as is reputed in NetBSD? Since so many "core" packages
> are in pkgsrc[-wip], it would be nice to have them installed at /usr
> rather than /usr/pkg.

I have used LOCALBASE=/usr for Linux for over ten systems starting around
14 months ago.

My main problem has been accidently removing some essential programs. I do
have some essentials copied to /bin and /sbin too.

Another problem is that some buildlink2.mk files assume if it finds some
file under /usr/ then it is native and not to have a dependency made.
(Like openssh package won't have a dependency on openssl, so it will be
broken.) So I force mine to always depend. I need to share my patches to
list for discussion.

> Another thing that concerns me is the XFree packages. In NetBSD world,

Using XFree86* from pkgsrc-wip works fine when using X11BASE different
from LOCALBASE. But if it is the same (like I have been trying to do) then
it is broken. For example, XFree86-libs needs Xrender, but Xrender needs
XFree86-libs. One idea would be to get XFree86-libs to install newest
Xrender with it.

My workaround for that is to use freedesktop.org xlibs. But I still need
Xmu, Xmuu, and Xaw. (I am slowly working on this for freedesktop.org xlibs
project too.)

   Jeremy C. Reed
   http://bsd.reedmedia.net/