[Bug 256716] graphics/swftools: [PATCH] allow building without X11 / OPENGL

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 19 Jun 2021 14:22:47 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256716

            Bug ID: 256716
           Summary: graphics/swftools: [PATCH] allow building without X11
                    / OPENGL
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: dinoex@FreeBSD.org
          Reporter: girgen@FreeBSD.org
             Flags: maintainer-feedback?(dinoex@FreeBSD.org)
          Assignee: dinoex@FreeBSD.org

Created attachment 225932
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=225932&action=edit
add option for OPENGL

Since most or our machines are headless, x11 is just an unecessary
complication.

When building with 

OPTIONS_UNSET?= X11 NLS OPENGL

in make.conf

swftools fails, since it depends in libGLU that does nbot build without X11 [1]

I s´suggest an option to build swftools without OPENGL. Perhaps it's even
better to depend on the X11 option´, I'm not sure?

Palle


[1]:
===>   libGLU-9.0.1 depends on shared library: libGL.so - not found
===>   Installing existing package /packages/All/libglvnd-1.3.2.txz
[122-amd64-git-job-01] Installing libglvnd-1.3.2...
[122-amd64-git-job-01] Extracting libglvnd-1.3.2: .......... done
===>   libGLU-9.0.1 depends on shared library: libGL.so - not found
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/libGLU

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