Subject: Re: Help building a new package (was heartbeat (linux-ha))
To: None <>
From: Joerg Sonnenberger <>
List: pkgsrc-users
Date: 02/12/2007 19:06:50
On Mon, Feb 12, 2007 at 12:58:05PM -0500, Louis Guillaume wrote:
> Can someone help explain how this is intended to work? It seems we want
> the install targets to put things in $PREFIX/share/examples but have the
> configure script still use $PKG_SYSCONFBASE. But how? The install
> targets are done at configure time. Do we have a way to patch Makefiles
> post-configure?


> Also - I want to move the /etc/init.d scripts from my package into
> ${PREFIX}/share/examples/heartbeat/init.d. But configure has a fatal
> error if it can't find that directory. Any ideas how to get around that?

Ieek. We generally don't use supplied init scripts, simply because they
make no sense in the rc world. Otherwise INSTALLATION_DIRS creates
directories before do-install, don't forget to remove them via @dirrm in
the PLIST though.