From owner-dev-commits-ports-main@freebsd.org Mon Aug 9 05:23:32 2021 Return-Path: Delivered-To: dev-commits-ports-main@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 7621A66E17C; Mon, 9 Aug 2021 05:23:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4GjkyD2j3Sz3CgL; Mon, 9 Aug 2021 05:23:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 45B59227AA; Mon, 9 Aug 2021 05:23:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1795NWQa008164; Mon, 9 Aug 2021 05:23:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1795NW84008163; Mon, 9 Aug 2021 05:23:32 GMT (envelope-from git) Date: Mon, 9 Aug 2021 05:23:32 GMT Message-Id: <202108090523.1795NW84008163@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: 6896626b1d2a - main - emulators/{citra, yuzu}: drop runtime dependency on boost-libs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6896626b1d2a8edb8832f5557786079338752d72 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 Aug 2021 05:23:32 -0000 The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=6896626b1d2a8edb8832f5557786079338752d72 commit 6896626b1d2a8edb8832f5557786079338752d72 Author: Jan Beich AuthorDate: 2021-08-09 04:27:18 +0000 Commit: Jan Beich CommitDate: 2021-08-09 05:22:24 +0000 emulators/{citra,yuzu}: 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. Mainly useful for non-qt5 versions as DEs may bring boost-libs via other routes. --- emulators/citra/Makefile | 4 ++-- emulators/yuzu/Makefile | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/emulators/citra/Makefile b/emulators/citra/Makefile index 397104d9ce50..218dc399f5c6 100644 --- a/emulators/citra/Makefile +++ b/emulators/citra/Makefile @@ -17,7 +17,7 @@ LICENSE_FILE_LGPL21+ = ${_LICENSE_STORE}/LGPL21 # soundtouch LICENSE_FILE_MIT= ${WRKSRC}/externals/enet/LICENSE LICENSE_FILE_OpenSSL= ${WRKSRC}/externals/libressl/COPYING -LIB_DEPENDS= libboost_serialization.so:devel/boost-libs +BUILD_DEPENDS= boost-libs>0:devel/boost-libs USE_GITHUB= yes GH_ACCOUNT= citra-emu @@ -42,7 +42,7 @@ GH_TUPLE= citra-emu:ext-boost:36603a1:boost/externals/boost \ USES= cmake:testing compiler:c++17-lang localbase:ldflags sdl USE_SDL= sdl2 -CMAKE_ON= USE_SYSTEM_BOOST +CMAKE_ON= USE_SYSTEM_BOOST Boost_USE_STATIC_LIBS LDFLAGS+= -Wl,--as-needed # Qt5Network OPTIONS_DEFINE= ALSA FFMPEG PULSEAUDIO JACK SNDIO diff --git a/emulators/yuzu/Makefile b/emulators/yuzu/Makefile index 9d805f8c190c..877fa7714ef6 100644 --- a/emulators/yuzu/Makefile +++ b/emulators/yuzu/Makefile @@ -22,13 +22,13 @@ ONLY_FOR_ARCHS= aarch64 amd64 powerpc64 ONLY_FOR_ARCHS_REASON= requires int128 BUILD_DEPENDS= catch>0:devel/catch \ + boost-libs>0:devel/boost-libs \ nlohmann-json>0:devel/nlohmann-json \ glslangValidator:graphics/glslang LIB_DEPENDS= liblz4.so:archivers/liblz4 \ libzip.so:archivers/libzip \ libzstd.so:archivers/zstd \ libopus.so:audio/opus \ - libboost_context.so:devel/boost-libs \ libavcodec.so:multimedia/ffmpeg USE_GITHUB= yes @@ -50,7 +50,7 @@ GH_TUPLE= yuzu-emu:mbedtls:v2.16.9-115-g8c88150ca:mbedtls/externals/mbedtls \ USES= cmake:testing compiler:c++17-lang localbase:ldflags sdl ssl USE_GCC= yes:build # libc++ lacks std::atomic_ref, std::ranges USE_SDL= sdl2 -CMAKE_ON= LIBVA_FOUND +CMAKE_ON= Boost_USE_STATIC_LIBS LIBVA_FOUND CMAKE_OFF= YUZU_USE_EXTERNAL_SDL2 ENABLE_GNUTLS ENABLE_MBEDTLS LDFLAGS+= -static-libstdc++ # avoid libc++ conflict, requires files/patch-fmt LDFLAGS+= -Wl,--as-needed # Qt5Network