git: 3a362dcd6167 - main - devel/xbyak: Update 6.041 -> 6.051

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 15 May 2022 16:39:08 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3a362dcd616767fa4cd573d6cbbe1f6d3179d8de

commit 3a362dcd616767fa4cd573d6cbbe1f6d3179d8de
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-05-15 16:25:35 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-05-15 16:39:03 +0000

    devel/xbyak: Update 6.041 -> 6.051
    
    Reported by:    portscout
---
 devel/xbyak/Makefile                 |  5 ++++-
 devel/xbyak/distinfo                 |  6 +++---
 devel/xbyak/files/patch-gen_Makefile | 23 -----------------------
 3 files changed, 7 insertions(+), 27 deletions(-)

diff --git a/devel/xbyak/Makefile b/devel/xbyak/Makefile
index 1eb728bc75bf..50ddb39f5199 100644
--- a/devel/xbyak/Makefile
+++ b/devel/xbyak/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	xbyak
 DISTVERSIONPREFIX=	v
-DISTVERSION=	6.041
+DISTVERSION=	6.051
 CATEGORIES=	devel
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -28,6 +28,9 @@ PLIST_FILES=	include/xbyak/xbyak.h \
 		lib/cmake/xbyak/xbyak-config.cmake \
 		lib/cmake/xbyak/xbyak-targets.cmake
 
+post-patch:
+	@${REINPLACE_CMD} -e 's|sed |gsed |g' ${WRKSRC}/gen/Makefile
+
 do-test: install
 	@cd ${WRKSRC}/test && ${SETENV} ${MAKE_ENV} ${GMAKE} ${_MAKE_JOBS} test
 
diff --git a/devel/xbyak/distinfo b/devel/xbyak/distinfo
index 8283a7105e39..ad1f8e0271b4 100644
--- a/devel/xbyak/distinfo
+++ b/devel/xbyak/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1650649665
-SHA256 (herumi-xbyak-v6.041_GH0.tar.gz) = 679d027a9086479757b13889b1d0da5febe25f643196c0fe33cd13c9802cc428
-SIZE (herumi-xbyak-v6.041_GH0.tar.gz) = 242970
+TIMESTAMP = 1652631553
+SHA256 (herumi-xbyak-v6.051_GH0.tar.gz) = 0662c309086e437a76236b8c9de5fb59aef2325e7209263005f43441f8c202c2
+SIZE (herumi-xbyak-v6.051_GH0.tar.gz) = 244087
diff --git a/devel/xbyak/files/patch-gen_Makefile b/devel/xbyak/files/patch-gen_Makefile
deleted file mode 100644
index b170de664f5f..000000000000
--- a/devel/xbyak/files/patch-gen_Makefile
+++ /dev/null
@@ -1,23 +0,0 @@
---- gen/Makefile.orig	2022-04-22 18:01:34 UTC
-+++ gen/Makefile
-@@ -24,16 +24,16 @@ $(TARGET): $(BIN)
- 
- VER=$(shell head -n 1 ../xbyak/xbyak_mnemonic.h|grep -o "[0-9.]*")
- ../CMakeLists.txt: $(TARGET)
--	sed -i -e 's/CXX VERSION [0-9.]*/CXX VERSION $(VER)/' $@
-+	gsed -i -e 's/CXX VERSION [0-9.]*/CXX VERSION $(VER)/' $@
- 
- ../meson.build: $(TARGET)
--	sed -i -e "s/version: '[0-9.]*',/version: '$(VER)',/" $@
-+	gsed -i -e "s/version: '[0-9.]*',/version: '$(VER)',/" $@
- 
- ../readme.md: $(TARGET)
--	sed -l 2 -i -e "s/Xbyak [0-9.]*/Xbyak $(VER)/" $@
-+	gsed -l 2 -i -e "s/Xbyak [0-9.]*/Xbyak $(VER)/" $@
- 
- ../readme.txt: $(TARGET)
--	sed -l 2 -i -e "s/Xbyak [0-9.]*/Xbyak $(VER)/" $@
-+	gsed -l 2 -i -e "s/Xbyak [0-9.]*/Xbyak $(VER)/" $@
- 
- clean:
- 	$(RM) $(BIN) $(TARGET)