[Bug 277599] ports-mgmt/portmaster: gmake: invalid option -- D

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 09 Mar 2024 18:32:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277599

            Bug ID: 277599
           Summary: ports-mgmt/portmaster: gmake: invalid option -- D
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: se@FreeBSD.org
          Reporter: ohartmann@walstatt.org
             Flags: maintainer-feedback?(se@FreeBSD.org)
          Assignee: se@FreeBSD.org

On recent CURRENT (FreeBSD 15.0-CURRENT #26 main-n268743-a58813fd701e: Sat Mar 
9 07:04:03 CET 2024 amd64), updating and/or upgrading ports via portmaster
(portmaster-3.29_2; ports-mgmt/portmaster), some ports seem to have trouble
with portmaster, i.e.

devel/libpci

Building the port via make is fine, using recent portmaster fails with:

[...]
===>  Extracting for libpci-3.11.1
=> SHA256 Checksum OK for pciutils-3.11.1.tar.xz.
===>  Patching for libpci-3.11.1
===>  Applying FreeBSD patches for libpci-3.11.1 from
/usr/ports/devel/libpci/files
===>   libpci-3.11.1 depends on package: gmake>=4.4.1 - found
===>  Configuring for libpci-3.11.1
: invalid option -- D
Usage: gmake [options] [target] ...
Options:
  -b, -m                      Ignored for compatibility.
  -B, --always-make           Unconditionally make all targets.
  -C DIRECTORY, --directory=DIRECTORY
                              Change to DIRECTORY before doing anything.
  -d                          Print lots of debugging information.
  --debug[=FLAGS]             Print various types of debugging information.
  -e, --environment-overrides
                              Environment variables override makefiles.
  -E STRING, --eval=STRING    Evaluate STRING as a makefile statement.
  -f FILE, --file=FILE, --makefile=FILE

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