Bug 277913 - emulators/wine-devel: build error: invalid option -- D
Summary: emulators/wine-devel: build error: invalid option -- D
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-24 11:01 UTC by O. Hartmann
Modified: 2024-03-24 11:01 UTC (History)
0 users

See Also:


Attachments
correct environment confusion using gmake (711 bytes, patch)
2024-03-24 11:01 UTC, O. Hartmann
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2024-03-24 11:01:41 UTC
Created attachment 249441 [details]
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.