pkgsrc-Bulk archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkgsrc NetBSD 5.0_STABLE/x86_64 2009-07-24 10:40
On Wed, 29 Jul 2009 23:04:38 +0200
Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
> On Wed, Jul 29, 2009 at 04:55:37PM -0400, D'Arcy J.M. Cain wrote:
> > I read this as meaning that setting it to "user-destdir" tells the build
> > system that the package could be installed into the user's own space if
> > desired but could be installed by root as well.
>
> It means the install phase will use a temporary staging area under
> ${WRKSRC} and from that the package will be built. This is not the same
> as using pkgsrc as unprivileged user with a prefix in $HOME, but the
> problems are somewhat similar.
OK, so the man page should have been built under ${WRKSRC} in this
case, right? I assume that the builder has access to ${WRKSRC} due to
either running as root or setting it to some place they have access to.
>
> The difference between user-destdir and destdir is just whether this
> happens as normal unprivileged user or as root.
>
> > If my understanding is incorrect then it seems to me that there would
> > be few if any packages that could be installed by non-root. Do I need
> > to add "${DESTDIR}" in front of every line in PLIST? I thought that
> > the build system would handle that for me. I can't find any other
> > packages that do so.
>
> Not the PLIST, the install commands. Looking at the package it might
> be better to use do-install directly though.
>
> Joerg
--
D'Arcy J.M. Cain <darcy%druid.net@localhost> | Democracy is three
wolves
http://www.druid.net/darcy/ | and a sheep voting on
+1 416 425 1212 (DoD#0082) (eNTP) | what's for dinner.
Home |
Main Index |
Thread Index |
Old Index