[Bug 263003] print/ghostscript9-agpl-base: fix build on armv6/armv7

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 02 Apr 2022 13:04:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263003

            Bug ID: 263003
           Summary: print/ghostscript9-agpl-base: fix build on armv6/armv7
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
               URL: https://github.com/tesseract-ocr/tesseract/pull/2978
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: hrs@FreeBSD.org
          Reporter: fuz@fuz.su
                CC: hrs@FreeBSD.org
             Flags: maintainer-feedback?(hrs@FreeBSD.org)
          Assignee: hrs@FreeBSD.org
 Attachment #232892 maintainer-approval?(hrs@FreeBSD.org)
             Flags:
             Flags: merge-quarterly?
                CC: hrs@FreeBSD.org

Created attachment 232892
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=232892&action=edit
print/ghostscript9-agpl-base: fix build on armv6/armv7

The bundled version of tesseract requires the <asm/hwcap.h> header
to detect the availability of NEON instructions on armv7.  This
issue has already been reported to up stream.

I am going to file a similar PR with graphics/tesseract shortly.

Please also consider unbundling tesseract or at least to make it optional in
accordance with the general ports policies.

Please MFH this change as otherwise no arm packages of this port can be
produced for 2022Q2.

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