git: 8c62ba28b5f0 - main - sysutils/fusefs-nbt: Update to 20230720-4d49ab2
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 22 Jul 2023 15:29:55 UTC
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=8c62ba28b5f02b787911950a17471f58fcfd6386 commit 8c62ba28b5f02b787911950a17471f58fcfd6386 Author: WHR <msl0000023508@gmail.com> AuthorDate: 2023-07-22 15:16:55 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2023-07-22 15:29:22 +0000 sysutils/fusefs-nbt: Update to 20230720-4d49ab2 - This change also fixes an issue where the built utilities may not always be using shared library libnbt.so.1 due to parallel building. Originally this port has 'ALL_TARGET=libnbt.so all', so make(1) will be launched with these 2 targets together; if parallel building is enabled (by default in ports tree), it is not guaranteed to have 'libnbt.so' ready before building 'all'. As a result some programs built by 'all' may have linked with libnbt.a instead. Fixing this unpredictable behavior by using 2 make(1) passes for those 2 targets. - Define USE_LDCONFIG - Strip binaries PR: 272636 --- sysutils/fusefs-nbt/Makefile | 14 +++++++++++--- sysutils/fusefs-nbt/distinfo | 6 +++--- 2 files changed, 14 insertions(+), 6 deletions(-) diff --git a/sysutils/fusefs-nbt/Makefile b/sysutils/fusefs-nbt/Makefile index 6b602d481d04..d5da877bd552 100644 --- a/sysutils/fusefs-nbt/Makefile +++ b/sysutils/fusefs-nbt/Makefile @@ -20,16 +20,24 @@ LICENSE_FILE_MPL20= ${WRKSRC}/MPL-2.0 LICENSE_PERMS_BEERWARE= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept USES= fuse tar:bz2 +USE_LDCONFIG= yes -REVISION_DATE= 20220412 -REVISION_HASH= 09b007a +REVISION_DATE= 20230720 +REVISION_HASH= 4d49ab2 MAKE_ENV= MANDIR=\${PREFIX}/man -ALL_TARGET= libnbt.so all INSTALL_TARGET= install-commands install-dev CFLAGS+= ${CPPFLAGS} CPPFLAGS+= -I ${LOCALBASE}/include LDFLAGS+= -L ${LOCALBASE}/lib NO_WRKSUBDIR= yes +do-build: + @cd ${BUILD_WRKSRC} && ${DO_MAKE_BUILD} libnbt.so && ${DO_MAKE_BUILD} all + +post-install: +.for l in lib/libnbt.so.1 bin/nbtdump bin/regiondump sbin/mkfs.nbt sbin/mount.nbt + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${l} +.endfor + .include <bsd.port.mk> diff --git a/sysutils/fusefs-nbt/distinfo b/sysutils/fusefs-nbt/distinfo index f388f04f50c3..f6c65938b58f 100644 --- a/sysutils/fusefs-nbt/distinfo +++ b/sysutils/fusefs-nbt/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1650298920 -SHA256 (nbtfsutils-20220412-09b007a-src.tar.bz2) = f1c0155ba741357e90e83bd68f87ad4f501181b3a8cd02b461f9b60b361eb29c -SIZE (nbtfsutils-20220412-09b007a-src.tar.bz2) = 1459524 +TIMESTAMP = 1689916083 +SHA256 (nbtfsutils-20230720-4d49ab2-src.tar.bz2) = b707c9cddc22249cac02fd9605f2ea19b8d919ab7eb4386375dbbc0296041ad6 +SIZE (nbtfsutils-20230720-4d49ab2-src.tar.bz2) = 1459769