[Bug 270625] devel/root: Fix building on 123amd64 and restore post-patch step

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 03 Apr 2023 13:22:40 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270625

            Bug ID: 270625
           Summary: devel/root: Fix building on 123amd64 and restore
                    post-patch step
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: erik@tenku.dk

Created attachment 241285
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=241285&action=edit
Patch to fix building on 123amd64 and restore post-patch step

ROOT version 6.28.02 fails to build on 123amd64:
https://pkg-status.freebsd.org/beefy6/data/123amd64-default/d55ec1db8ffa/logs/root-6.28.02.log
This patch fixes the (sed-related) issue.

In addition, I noticed that the post-patch step introduced to the port Makefile
in freebsd-ports commit e9e0b380a1ec9ac63ca76da8bc5d9c38e49d38d4 (bug #268701)
and slightly modified in commit 7488335156ee822577bbf92ca011d8e9c7af3ad8 (bug
#269552) has disappeared from the Makefile without a trace.
The deletion of the relevant lines is not logged in any of the commits that
follow it - very strange... Has this happened before?

I went through the history of the port Makefile and did not find any other
parts of the Makefile missing.

I submit here - again - the post-patch step, which ensures that ROOT can build
on LLVM/Clang 10.0.1 (used on FreeBSD 12.3).
Without this step, ROOT would fail to build on 123amd64 due to an error
different from the one reported above.

Prior to submitting this patch I successfully ran a `poudriere testport` on
123amd64 on my system using this patch.

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