git: a3af968bd6b3 - main - games/burrtools: turn boost dependency into BUILD_DEPENDS

From: Robert Clausecker <fuz_at_FreeBSD.org>
Date: Mon, 04 Aug 2025 13:23:35 UTC
The branch main has been updated by fuz:

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

commit a3af968bd6b33ff0ffa4964fec3b886b910b0833
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2025-07-31 15:01:20 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2025-08-04 13:23:24 +0000

    games/burrtools: turn boost dependency into BUILD_DEPENDS
    
    boost 1.89 will remove the boost stub libraries, moving finally to a
    header-only library.  Remove references to -lboost_system and turn
    LIB_DEPENDS into BUILD_DEPENDS to follow along.
    
    Grab maintainership while we are at it.
    
    Reported by:    fluffy
---
 games/burrtools/Makefile | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/games/burrtools/Makefile b/games/burrtools/Makefile
index b8aa270a77bb..fc93797cb1d6 100644
--- a/games/burrtools/Makefile
+++ b/games/burrtools/Makefile
@@ -1,17 +1,17 @@
 PORTNAME=	burrtools
 PORTVERSION=	0.6.3
-PORTREVISION=	29
+PORTREVISION=	30
 CATEGORIES=	games
 MASTER_SITES=	SF
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	fuz@FreeBSD.org
 COMMENT=	Puzzle solver
 WWW=		https://burrtools.sourceforge.net/
 
 LICENSE=	GPLv2+ # COPYING is GPLv3
 
-LIB_DEPENDS=	libboost_system.so:devel/boost-libs \
-		libpng.so:graphics/png \
+BUILD_DEPENDS=	boost-libs>0:devel/boost-libs
+LIB_DEPENDS=	libpng.so:graphics/png \
 		libfltk.so:x11-toolkits/fltk
 
 USES=		gl gmake localbase lua:51
@@ -24,7 +24,7 @@ CONFIGURE_ENV=	ac_cv_lib_ICE_IceConnectionNumber="no" \
 MAKE_ARGS=	am_lua_liblua_a_OBJECTS='lua/luaclass.$$(OBJEXT)'
 
 LDFLAGS+=	-Wl,--as-needed # fltk deps
-LIBS+=		-llua-${LUA_VER} -lboost_system # _ZN5boost6system15system_categoryEv
+LIBS+=		-llua-${LUA_VER}
 
 DESKTOP_ENTRIES="BurrGui" "" "burricons" "burrGui" "Game;LogicGame;" ""
 
@@ -35,7 +35,7 @@ PORTEXAMPLES=	*
 
 OPTIONS_DEFINE=	DOCS EXAMPLES
 
-post-patch:
+pre-configure:
 	${REINPLACE_CMD} -e '/GL_X_LIBS/d' ${WRKSRC}/configure
 	${REINPLACE_CMD} -e \
 		's|g++ |$$(CXX) | ; \