Date: Fri, 13 Aug 2021 16:46:51 GMT From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 01b2e1fe2030 - main - games/rlvm: drop runtime dependency on boost-libs Message-ID: <202108131646.17DGkpTl014768@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=01b2e1fe2030d24f83ec3f5b08542e87e8994aed commit 01b2e1fe2030d24f83ec3f5b08542e87e8994aed Author: Jan Beich <jbeich@FreeBSD.org> AuthorDate: 2021-08-13 16:08:56 +0000 Commit: Jan Beich <jbeich@FreeBSD.org> CommitDate: 2021-08-13 16:46:44 +0000 games/rlvm: 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. --- games/rlvm/Makefile | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/games/rlvm/Makefile b/games/rlvm/Makefile index b886e73fade2..278da439fce2 100644 --- a/games/rlvm/Makefile +++ b/games/rlvm/Makefile @@ -2,6 +2,7 @@ PORTNAME= rlvm DISTVERSIONPREFIX= release- DISTVERSION= 0.14-77 DISTVERSIONSUFFIX= -gfabf134a +PORTREVISION= 1 CATEGORIES= games MAINTAINER= jbeich@FreeBSD.org @@ -13,10 +14,10 @@ LICENSE_COMB= multi BROKEN_FreeBSD_11_powerpc64= fails to link on powerpc64 elfv1: gcn_platform.cc: undefined reference to gcn::Exception::Exception BROKEN_FreeBSD_12_powerpc64= fails to link on powerpc64 elfv1: gcn_platform.cc: undefined reference to gcn::Exception::Exception -BUILD_DEPENDS= ${LOCALBASE}/include/utf8cpp/utf8.h:devel/utf8cpp +BUILD_DEPENDS= boost-libs>0:devel/boost-libs \ + utf8cpp>0:devel/utf8cpp LIB_DEPENDS= libsndfile.so:audio/libsndfile \ libvorbisfile.so:audio/libvorbis \ - libboost_serialization.so:devel/boost-libs \ libguichan.so:devel/guichan RUN_DEPENDS= ${LOCALBASE}/share/fonts/dejavu/DejaVuSans.ttf:x11-fonts/dejavu @@ -35,6 +36,11 @@ MAKE_ARGS= VERBOSE=1 INSTALLS_ICONS= yes PORTDOCS= AUTHORS.TXT NEWS.TXT README.md STATUS.TXT notes +.if exists(/usr/bin/ld.lld) && ${/usr/bin/ld:L:tA} != /usr/bin/ld.lld +# undefined reference to symbol `inflateEnd@@ZLIB_1.2.4.0' (try adding -lz) +LDFLAGS+= -fuse-ld=lld +.endif + OPTIONS_DEFINE= DEBUG DOCS NLS TEST OPTIONS_DEFAULT=MONA OPTIONS_MULTI= JAPANESE_FONT @@ -58,6 +64,8 @@ TEST_BUILD_DEPENDS=googletest>=1.7.0:devel/googletest \ TEST_EXTRA_PATCHES_OFF=${FILESDIR}/extra-patch-disable-test post-patch: + @${REINPLACE_CMD} -e "s/boost_[^\"]*/:lib&$$'\\\x2e'a/" \ + ${WRKSRC}/SConstruct @${REINPLACE_CMD} -e 's,/usr/share,${PREFIX}/share,' \ ${WRKSRC}/src/platforms/gtk/gtk_rlvm_instance.cc @${REINPLACE_CMD} -e 's,/usr/share,${LOCALBASE}/share,' \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202108131646.17DGkpTl014768>