git: d7f9992b7d80 - main - games/chessx: Improve port
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 15 Feb 2026 14:26:21 UTC
The branch main has been updated by vvd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d7f9992b7d801e07cc98c66c7515303f1454c233
commit d7f9992b7d801e07cc98c66c7515303f1454c233
Author: Vladimir Druzenko <vvd@FreeBSD.org>
AuthorDate: 2026-02-15 14:21:17 +0000
Commit: Vladimir Druzenko <vvd@FreeBSD.org>
CommitDate: 2026-02-15 14:21:17 +0000
games/chessx: Improve port
- After remove ".if ${COMPILER_TYPE} == clang":
* remove ".include <bsd.port.pre.mk>";
* replace ".include <bsd.port.post.mk>" with ".include <bsd.port.mk>".
- Remove the useless block from the patch that adds one blank line.
PR: 292841
Approved by: Alexey Vyskubov <alexey@pentode.fi> (maintainer, timeout 2 weeks)
---
games/chessx/Makefile | 4 +---
games/chessx/files/patch-chessx.pro | 10 +---------
2 files changed, 2 insertions(+), 12 deletions(-)
diff --git a/games/chessx/Makefile b/games/chessx/Makefile
index 20ba8381a736..e33a2b1be01d 100644
--- a/games/chessx/Makefile
+++ b/games/chessx/Makefile
@@ -31,12 +31,10 @@ STOCKFISH_DESC= Install Stockfish Chess Engine
CRAFTY_RUN_DEPENDS= crafty:games/crafty
STOCKFISH_RUN_DEPENDS= stockfish:games/stockfish
-.include <bsd.port.pre.mk>
-
post-extract:
@${MV} ${WRKDIR}/chessx-master ${WRKSRC}
post-configure:
( cd ${BUILD_WRKSRC} && ${LRELEASE} ${WRKSRC}/${PORTNAME}.pro )
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/games/chessx/files/patch-chessx.pro b/games/chessx/files/patch-chessx.pro
index 6bcc49857985..775d4949fa32 100644
--- a/games/chessx/files/patch-chessx.pro
+++ b/games/chessx/files/patch-chessx.pro
@@ -32,15 +32,7 @@
binfiles.files = release/chessx
binfiles.path = $$BINDIR
-@@ -531,6 +539,7 @@ win32 {
- win32-g++:LIBS += -lz
- }
-
-+
- UI_DIR = src/generated
- MOC_DIR = src/generated
- RCC_DIR = src/generated
-@@ -609,10 +618,10 @@ PRE_TARGETDEPS += compiler_TSQM_make_all
+@@ -609,10 +617,10 @@ PRE_TARGETDEPS += compiler_TSQM_make_all
PRE_TARGETDEPS += compiler_TSQM_make_all
# Automatically run lupdate when building