pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Rebuilding firefore
On Sat, Apr 05, 2025 at 10:34:00AM -0400, Rob Whitlock wrote:
> > I think PKG_FAIL_REASON is the "backend" - it can be set for various
> > reasons - and BROKEN is the "frontend" used for explicitly setting
> > packages as broken in their package Makefiles.
> > Thomas
>
> The pkgsrc guide recommends setting it in certain situations
>
> If the package should be skipped (for example, because it
> provides functionality already provided by the system),
> set PKG_SKIP_REASON to a descriptive message. If the
> package should fail because some preconditions are not
> met, set PKG_FAIL_REASON to a descriptive message.
>
> https://www.netbsd.org/docs/pkgsrc/fixes.html#not-building-packages
>
> so I'm thinking maybe your explanation isn't entirely correct, or the
> pkgsrc guide isn't correct.
BROKEN is a way to set PKG_FAIL_REASON, no more, no less.
. if ${BROKEN:U:M*}
PKG_FAIL_REASON+= "${PKGNAME} is marked as broken:"
PKG_FAIL_REASON+= ${BROKEN}
. endif
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index