[Bug 279604] lang/zig: fix STATIC and no DOCS build

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 09 Jun 2024 09:09:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279604

            Bug ID: 279604
           Summary: lang/zig: fix STATIC and no DOCS build
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: asmodai@FreeBSD.org
                CC: bsd@orsolic.org
                CC: bsd@orsolic.org
             Flags: maintainer-feedback?(bsd@orsolic.org)

Created attachment 251310
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=251310&action=edit
Patch to fix lang/zig static and no docs building on my poudriere environment

When you currently try to build lang/zig with the STATIC option set and DOCS
unset on poudriere, it fails in two places:

- static build can't find libxml2
- tries to include documentation directory that should not when DOCS is unset

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