Date: Mon, 14 May 2007 08:34:29 +0200 From: des@des.no (Dag-Erling =?utf-8?Q?Sm=C3=B8rgrav?=) To: Mike Meyer <mwm@mired.org> Cc: hackers@freebsd.org Subject: Re: New FreeBSD package system (a.k.a. Daemon Package System (dps)) Message-ID: <861whjzzey.fsf@dwp.des.no> In-Reply-To: <17991.60332.227909.539504@bhuda.mired.org> (Mike Meyer's message of "Mon\, 14 May 2007 00\:55\:08 -0400") References: <200705102105.27271.blackdragon@highveldmail.co.za> <20070511051852.GA89359@xor.obsecurity.org> <17988.32573.910854.388638@bhuda.mired.org> <200705111011.52212.fcash@ocis.net> <17988.46905.9205.461424@bhuda.mired.org> <86zm48ziks.fsf@dwp.des.no> <17991.60332.227909.539504@bhuda.mired.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Mike Meyer <mwm@mired.org> writes: > Dag-Erling Sm=C3=B8rgrav <des@des.no> writes: > > Mike Meyer <mwm@mired.org> writes: > > > How would setting LOCALBASE=3D/usr break this? Of course, equally val= id > > > is the question "what will break if I set LOCALBASE=3D/usr"? Hmm. I > > > think I may found out.... > > For one, man pages for ports will end up in the wrong place (/usr/man > > instead of /usr/share/man). > Is this really "broken"? If so, are you sure it's not ports installing > in ${LOCALBASE}/man instead of ${LOCALBASE}/share/man that's broken? It doesn't really matter which is right and which is wrong, it's the inconsistency that is the problem. > A number of ports seem to depend on the directory tree in ${LOCALBASE} > existing - ${LOCALBASE}/man/... and ${LOCALBASE}/etc, in > particular. They use the INSTALL macros to point single files at > directories, which macro will quite happily create a file with the > target name if it's not a directory. This creates a number of > interesting problems later on. They can correctly assume that the directories exist because we always run 'mtree -f /etc/mtree/BSD.local.dist -P ${PREFIX}' before installing a port. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?861whjzzey.fsf>