[Bug 277913] emulators/wine-devel: build error: invalid option -- D

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 24 Mar 2024 11:01:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277913

            Bug ID: 277913
           Summary: emulators/wine-devel: build error: invalid option -- D
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ohartmann@walstatt.org

Created attachment 249441
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=249441&action=edit
correct environment confusion using gmake

On recent CURRENT (FreeBSD 15.0-CURRENT #6 main-n268966-a200093c2163: Sat Mar
23 08:34:05 CET 2024 amd64), building emulators/wine-devel fails with:

[...]
===>  Building for wine-devel-9.4,1
cd /usr/ports/emulators/wine-devel/work/wine-9.4 && gmake depend
: invalid option -- D
Usage: gmake [options] [target] ...
Options:
  -b, -m                      Ignored for compatibility.
  -B, --always-make           Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
[...]


The solution/workaround has recently been discussed here, I guess this error is
a late fallout. See patch.

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