Index: head/sysutils/fusefs-sshfs/Makefile =================================================================== --- head/sysutils/fusefs-sshfs/Makefile (revision 484257) +++ head/sysutils/fusefs-sshfs/Makefile (revision 484258) @@ -1,30 +1,30 @@ # Created by: Anish Mistry # $FreeBSD$ PORTNAME= sshfs PORTVERSION= 3.4.0 PORTREVISION= 1 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= sysutils PKGNAMEPREFIX= fusefs- MAINTAINER= bofh@FreeBSD.org COMMENT= Mount remote directories over ssh LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= rst2man:textproc/py-docutils -USES= fuse:3 gettext meson pkgconfig +USES= fuse:3 gettext gnome meson pkgconfig USE_GITHUB= yes GH_ACCOUNT= libfuse USE_GNOME= glib20 CFLAGS+= -DNDEBUG PLIST_FILES= bin/sshfs \ man/man1/sshfs.1.gz .include Index: head/sysutils/fusefs-sshfs/files/patch-meson.build =================================================================== --- head/sysutils/fusefs-sshfs/files/patch-meson.build (revision 484257) +++ head/sysutils/fusefs-sshfs/files/patch-meson.build (revision 484258) @@ -1,13 +1,27 @@ ---- meson.build.orig 2017-10-25 18:32:34 UTC +--- meson.build.orig 2018-06-29 08:34:57 UTC +++ meson.build -@@ -63,10 +63,5 @@ else +@@ -19,12 +19,7 @@ int main(void) { + (void) get_4(); + return 0; + }''' +-if not cc.compiles(code, args: [ '-O0', '-Werror=unused-result' ]) +- message('Compiler warns about unused result even when casting to void') +- add_global_arguments('-Wno-unused-result', language: 'c') +-endif + +- + rst2man = find_program('rst2man', required: false) + + cfg = configuration_data() +@@ -62,11 +57,6 @@ if rst2man.found() + else message('rst2man not found, not building manual page.') endif - +- -meson.add_install_script('utils/install_helper.sh', - get_option('sbindir'), - get_option('bindir')) - -- + subdir('test')