Subject: Re: how can a package detect it is getting built with pkgsrc?
To: None <>
From: Joerg Sonnenberger <>
List: tech-pkg
Date: 04/12/2007 21:00:23
On Thu, Apr 12, 2007 at 08:57:44PM +0200, Klaus Heinz wrote:
> Basically, I want to treat "pkgsrc" as a platform, like RedHat, Gentoo,
> Debian, for which the software already provides startup scripts.

That's fine. But I don't think it should be detected via a magic
environment variable, but requested explicitly. Something like
"--with-rc-style=pkgsrc". This is useful for other platforms where more
than one solution exists and e.g. on Linux it might indead be a better
choice to still keep the sysv init scripts.