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
*** This bug has been marked as a duplicate of bug 277492 ***