From owner-svn-ports-head@freebsd.org Thu Oct 26 15:37:04 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1201FE4C75A; Thu, 26 Oct 2017 15:37:04 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CEF1A825DF; Thu, 26 Oct 2017 15:37:03 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v9QFb396021909; Thu, 26 Oct 2017 15:37:03 GMT (envelope-from se@FreeBSD.org) Received: (from se@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v9QFb3C8021908; Thu, 26 Oct 2017 15:37:03 GMT (envelope-from se@FreeBSD.org) Message-Id: <201710261537.v9QFb3C8021908@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: se set sender to se@FreeBSD.org using -f From: Stefan Esser Date: Thu, 26 Oct 2017 15:37:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r452924 - head/Mk/Uses X-SVN-Group: ports-head X-SVN-Commit-Author: se X-SVN-Commit-Paths: head/Mk/Uses X-SVN-Commit-Revision: 452924 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2017 15:37:04 -0000 Author: se Date: Thu Oct 26 15:37:02 2017 New Revision: 452924 URL: https://svnweb.freebsd.org/changeset/ports/452924 Log: Add support for libfuse3 (sysutils/fusefs-libs3). USES=fuse:3 does add a dependency on version 3 of libfuse, which is not compatible with version 2 (which remains default version for now). Both versions can co-exist at build and run time. Reviewed by: mat Approved by: mat (portmgr) Differential Revision: https://reviews.freebsd.org/D12694 Modified: head/Mk/Uses/fuse.mk Modified: head/Mk/Uses/fuse.mk ============================================================================== --- head/Mk/Uses/fuse.mk Thu Oct 26 15:21:23 2017 (r452923) +++ head/Mk/Uses/fuse.mk Thu Oct 26 15:37:02 2017 (r452924) @@ -1,20 +1,26 @@ # $FreeBSD$ # -# handle dependency on the fuse port +# Handle dependency on the fuse port # # Feature: fuse -# Usage: USES=fuse -# Valid ARGS: does not require args -# -# MAINTAINER: portmgr@FreeBSD.org +# Usage: USES=fuse[:version] +# Valid ARGS: 2 [default], 3 +# MAINTAINER: portmgr@FreeBSD.org .if !defined(_INCLUDE_USES_FUSE_MK) _INCLUDE_USES_FUSE_MK= yes .if !empty(fuse_ARGS) -IGNORE= USES=fuse does not require args +LIBFUSE_VER= ${fuse_ARGS} .endif +LIBFUSE_VER?= 2 +.if ${LIBFUSE_VER} == 2 LIB_DEPENDS+= libfuse.so:sysutils/fusefs-libs +.elif ${LIBFUSE_VER} == 3 +LIB_DEPENDS+= libfuse3.so:sysutils/fusefs-libs3 +.else +IGNORE= cannot install: unknown FUSE library version: ${LIBFUSE_VERSION} +.endif .endif