[Bug 288993] databases/arrow: package error if GANDIVA or ZSTD off but not both (on lib/cmake/Gandiva/FindzstdAlt.cmake)

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 21 Aug 2025 23:48:54 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288993

            Bug ID: 288993
           Summary: databases/arrow: package error if GANDIVA or ZSTD off
                    but not both (on lib/cmake/Gandiva/FindzstdAlt.cmake)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: milios@ccsys.com
             Flags: maintainer-feedback?(yuri@freebsd.org)
          Assignee: yuri@freebsd.org

is this below not what was actually intended? (&& instead of ||)

@@ -205,7 +205,7 @@ PLIST_FILES+=       bin/arrow-file-to-stream \
 .if ${PORT_OPTIONS:MGANDIVA} || ${PORT_OPTIONS:MCOMPUTE}
 PLIST_FILES+=  lib/cmake/Arrow/Findutf8proc.cmake
 .endif
-.if ${PORT_OPTIONS:MGANDIVA} || ${PORT_OPTIONS:MZSTD}
+.if ${PORT_OPTIONS:MGANDIVA} && ${PORT_OPTIONS:MZSTD}
 PLIST_FILES+=  lib/cmake/Gandiva/FindzstdAlt.cmake
 .endif

note: not thoroughly tested (i couldnt build GANDIVA option today due to
unrelated, probably local, issues: producer llvm20 / reader llvm19)

i did suffer a package error on that file prior to the above change

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