Skip to content

Commit

Permalink
games/blockattack: drop runtime dependency on boost-libs
Browse files Browse the repository at this point in the history
Until subpackaging arrives to bsd.port.mk and boost-libs is split into
smaller packages this shaves ~166 MiB of install size.
  • Loading branch information
jbeich committed Aug 9, 2021
1 parent 6896626 commit 08509d6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions games/blockattack/Makefile
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit 08509d6

Please sign in to comment.