Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Feb 2026 01:19:30 +0000
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 87999cd89099 - main - sysutils/amdmsrtweaker: fix build on recent FreeBSD
Message-ID:  <699cfca2.3f1de.76a1b65d@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by fuz:

URL: https://cgit.FreeBSD.org/ports/commit/?id=87999cd890995b259fa61e70dba80e8a8d153964

commit 87999cd890995b259fa61e70dba80e8a8d153964
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2026-02-22 11:56:57 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2026-02-24 00:44:49 +0000

    sysutils/amdmsrtweaker: fix build on recent FreeBSD
    
    bmake has recently started to support $^ in addition to $>, causing
    both to expand and leading to a build error like
    
    c++ -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -Wall \
    -Werror -pedantic  -o amdmsrt Info.o AmdMsrTweaker.o WinRing0.o \
    Worker.oInfo.o AmdMsrTweaker.o WinRing0.o Worker.o
    c++: error: no such file or directory: 'Worker.oInfo.o'
    
    Fix the error by avoiding both $^ and $>.
    
    Approved by:    portmgr (build fix blanket)
    MFH:            2026Q1
---
 sysutils/amdmsrtweaker/files/patch-Makefile | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/sysutils/amdmsrtweaker/files/patch-Makefile b/sysutils/amdmsrtweaker/files/patch-Makefile
new file mode 100644
index 000000000000..612aaf354fe6
--- /dev/null
+++ b/sysutils/amdmsrtweaker/files/patch-Makefile
@@ -0,0 +1,11 @@
+--- Makefile.orig      2026-02-22 11:55:23 UTC
++++ Makefile
+@@ -4,7 +4,7 @@ amdmsrt: Info.o AmdMsrTweaker.o WinRing0.o Worker.o
+ all: amdmsrt
+ 
+ amdmsrt: Info.o AmdMsrTweaker.o WinRing0.o Worker.o
+-	$(CXX) $(CXXFLAGS) -o $@ $>$^
++	$(CXX) $(CXXFLAGS) -o $@ Info.o AmdMsrTweaker.o WinRing0.o Worker.o
+ # $>$^ is to be compatible against BSD and GNU make(1)
+ 
+ .cpp.o:


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?699cfca2.3f1de.76a1b65d>