[Bug 290322] ports-mgmt/pkg build failed: can't apply patch

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 17 Oct 2025 14:22:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=290322

Mark Millard <marklmi26-fbsd@yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |marklmi26-fbsd@yahoo.com

--- Comment #2 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
For reference:

QUOTE
author  John Marino <marino@FreeBSD.org>        2015-04-14 21:32:00 +0000
committer       John Marino <marino@FreeBSD.org>        2015-04-14 21:32:00
+0000

commit  aadfeb0da60a53972a4071d59396b6e6a6f94e78 (patch)
tree    45f4ff1f2a64c691f1465520054f0299c34bb9a9
/ports-mgmt/pkg/files/extra-patch-docs_pkg.8
parent  ea5adfb8f1faf7a8350d21e14c8506d9a834516c (diff)

ports-mgmt/pkg: Regenerate EXTRA_PATCHES (unbreaks DragonFly)

The patch target will fail if EXTRA_PATCHES is defined, but it is
only defined on DragonFly (change is no-op for FreeBSD)

Approved by:    Just fix it
. . .
END QUOTE

The Makefile has long had the following to avoid the
patch for FreeBSD:

.if !exists(/usr/include/jail.h)
EXTRA_PATCHES=  ${FILESDIR}/extra-patch-docs_pkg.8
.endif

Is your environment missing /usr/include/jail.h for some
reason?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.