Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Aug 2021 05:23:53 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: 2bf5e3b002ea - 2021Q3 - games/blockattack: drop runtime dependency on boost-libs
Message-ID:  <202108090523.1795Nrpo008420@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2021Q3 has been updated by jbeich:

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

commit 2bf5e3b002ea3a8bb1703b5304646f6bbd609073
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2021-08-09 04:43:27 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2021-08-09 05:23:47 +0000

    games/blockattack: drop runtime dependency on boost-libs
    
    Until subpackaging arrives to bsd.port.mk and boost-libs is split into
    smaller packages this shaves ~166 MiB of install size.
    
    (cherry picked from commit 08509d6e0f59e0d364a01362fe861a5578198593)
---
 games/blockattack/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/games/blockattack/Makefile b/games/blockattack/Makefile
index 7c881356f33c..e1095c3d8da8 100644
--- a/games/blockattack/Makefile
+++ b/games/blockattack/Makefile
@@ -11,9 +11,9 @@ LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
 BUILD_DEPENDS=	zip:archivers/zip \
+		boost-libs>0:devel/boost-libs \
 		${LOCALBASE}/include/utf8cpp/utf8.h:devel/utf8cpp
-LIB_DEPENDS=	libboost_program_options.so:devel/boost-libs \
-		libphysfs.so:devel/physfs
+LIB_DEPENDS=	libphysfs.so:devel/physfs
 
 USES=		cmake compiler:c++11-lib gettext localbase:ldflags \
 		pkgconfig sdl shebangfix
@@ -22,6 +22,7 @@ USE_SDL=	image2 mixer2 ttf2
 GH_PROJECT=	${PORTNAME}-game
 SHEBANG_FILES=	packdata.sh source/misc/translation/*.sh
 bash_CMD=	/bin/sh
+CMAKE_ON=	Boost_USE_STATIC_LIBS
 CFLAGS+=	-I${LOCALBASE}/include/utf8cpp
 LDFLAGS+=	-lintl
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108090523.1795Nrpo008420>