[Bug 272623] games/openttd: never uses sdl2 when built in clean environment

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 20 Jul 2023 14:59:08 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272623

            Bug ID: 272623
           Summary: games/openttd: never uses sdl2 when built in clean
                    environment
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: danfe@FreeBSD.org
          Reporter: mc@jscc.ru
          Assignee: danfe@FreeBSD.org
             Flags: maintainer-feedback?(danfe@FreeBSD.org)

Created attachment 243505
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=243505&action=edit
Options to select SDL version manually

games/openttd/Makefile checks for installed SDL2 and use it if found, SDL 1.2
is used otherwise.

When built in the clean environment (e.g. using ports-mgmt/synth), SDL2 is
never found, and SDL 1.2 is used. So one can't build OpenTTD with SDL2 in the
package-building system.

It is possible to use the port's options to force using sdl or sdl2, or leave
default autodetection intact.

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