Date: Sun, 27 Oct 2024 17:06:20 GMT From: Daniel Engberg <diizzy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 7c64c77187f0 - main - sysutils/fusefs-bindfs: Simplify port Message-ID: <202410271706.49RH6K36093190@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=7c64c77187f0c564aef90c73482a5cc4af0a27e9 commit 7c64c77187f0c564aef90c73482a5cc4af0a27e9 Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2024-10-27 17:02:31 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2024-10-27 17:02:35 +0000 sysutils/fusefs-bindfs: Simplify port * Remove GNU_CONFIGURE_MANPREFIX * Remove if segment and rework Makefile PR: 282357 Reviewed by: Leon Dietrich <doralitze@chaotikum.org> (maintainer) --- sysutils/fusefs-bindfs/Makefile | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/sysutils/fusefs-bindfs/Makefile b/sysutils/fusefs-bindfs/Makefile index 0427d357c393..de87bf2c500d 100644 --- a/sysutils/fusefs-bindfs/Makefile +++ b/sysutils/fusefs-bindfs/Makefile @@ -14,21 +14,15 @@ LICENSE_FILE= ${WRKSRC}/COPYING USES= fuse:3 localbase:ldflags pkgconfig GNU_CONFIGURE= yes -GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share + +CONFIGURE_ENV+= fuse3_LIBS="-L${LOCALBASE}/lib -lfuse3" +CONFIGURE_ARGS= --with-fuse3 PLIST_FILES= bin/bindfs \ share/man/man1/bindfs.1.gz -.include <bsd.port.pre.mk> - -.if ${LIBFUSE_VER} == 3 -FUSEPKG= fuse3 -CONFIGURE_ENV+= FUSE_CFLAGS="-I${LOCALBASE}/include/fuse3" \ - FUSE_LIBS="-L${LOCALBASE}/lib -lfuse3" -LDFLAGS+= -lthr -.endif - -FUSE_VERSION= "`pkgconf --modversion ${FUSEPKG} | \ - ${SED} -E 's,^([0-9]+)\.([0-9]+)\..*,\1\2,'`" +post-patch: + @${REINPLACE_CMD} -e 's|-pthread|-lthr|g' \ + ${PATCH_WRKSRC}/configure -.include <bsd.port.post.mk> +.include <bsd.port.mk>home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202410271706.49RH6K36093190>
