pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/38654 (nagios dosen't run from out of the box)
The following reply was made to PR pkg/38654; it has been noted by GNATS.
From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/38654 (nagios dosen't run from out of the box)
Date: Sat, 30 Apr 2011 23:17:03 +0200
On Sat, Apr 30, 2011 at 06:20:04PM +0000, David Holland wrote:
> The following reply was made to PR pkg/38654; it has been noted by GNATS.
>
> From: David Holland <dholland-pbugs%netbsd.org@localhost>
> To: gnats-bugs%NetBSD.org@localhost
> Cc:
> Subject: Re: pkg/38654 (nagios dosen't run from out of the box)
> Date: Sat, 30 Apr 2011 18:18:28 +0000
>
> On Sat, Apr 30, 2011 at 08:30:05AM +0000, Joerg Sonnenberger wrote:
> > > Looking at the diff between pkgsrc-2011Q1 and HEAD in nagios-base I
> > > don't understand this behavior.
> > >
> > > INSTALLATION_DIRS+= ${PKG_SYSCONFDIR}/objects
> > >
> > > is present in both versions...
> >
> > That only creates the directory under $DESTDIR, not in $PREFIX at
> > installation time. This would also have been an issue when using binary
> > packages. MAKE_DIRS or REQD_DIRS or so is needed here.
>
> Wait, you're saying that every use of INSTALLATION_DIRS also requires
> MAKE_DIRS?
No. Consider a typical upstream Makefile with
install:
cp foo ${DESTDIR}${prefix}/bin
For this, INSTALLATION_DIRS=bin is appropiate. On the other hand, if you
want to create /var/foo during +INSTALL, it is not, since
INSTALLATION_DIRS is part of the package build, not the package
installation.
Joerg
Home |
Main Index |
Thread Index |
Old Index