git: 580262a1b05e - main - x11-wm/chamfer: drop runtime dependency on boost-libs
Jan Beich
jbeich at FreeBSD.org
Mon Aug 9 05:23:35 UTC 2021
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=580262a1b05e243aeccad65183f6a28139177d92
commit 580262a1b05e243aeccad65183f6a28139177d92
Author: Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-08-09 05:10:56 +0000
Commit: Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-08-09 05:22:25 +0000
x11-wm/chamfer: drop runtime dependency on boost-libs
Until subpackaging arrives to bsd.port.mk and boost-libs is split into
smaller packages this shaves ~167 MiB of install size.
---
x11-wm/chamfer/Makefile | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/x11-wm/chamfer/Makefile b/x11-wm/chamfer/Makefile
index b5bccd7f5c52..8450527ff398 100644
--- a/x11-wm/chamfer/Makefile
+++ b/x11-wm/chamfer/Makefile
@@ -9,13 +9,13 @@ COMMENT= Tiling X11 window manager with Vulkan compositor
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
-BUILD_DEPENDS= spirv-opt:graphics/spirv-tools \
+BUILD_DEPENDS= boost-libs>0:devel/boost-libs \
+ ${PYTHON_PKGNAMEPREFIX}boost-libs>0:devel/boost-python-libs@${PY_FLAVOR} \
+ spirv-opt:graphics/spirv-tools \
vulkan-headers>0:graphics/vulkan-headers \
glslc:graphics/shaderc \
glm>0:math/glm
-LIB_DEPENDS= libboost_filesystem.so:devel/boost-libs \
- ${PY_BOOST} \
- libvulkan.so:graphics/vulkan-loader \
+LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader \
libfreetype.so:print/freetype2 \
libharfbuzz.so:print/harfbuzz \
libfontconfig.so:x11-fonts/fontconfig \
@@ -42,6 +42,7 @@ post-patch:
`if [ ${PYTHON_REL} -lt 30800 ]; then \
printf "%s %s" -e '/python.*embed/d'; \
fi` \
+ -e '/boost/s/,/,static:true,/' \
${WRKSRC}/meson.build
do-install:
More information about the dev-commits-ports-all
mailing list