From owner-svn-ports-all@freebsd.org Sun Feb 16 21:44:56 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id B2C2B243E07; Sun, 16 Feb 2020 21:44:56 +0000 (UTC) (envelope-from dch@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48LLHr3q0Wz4fBB; Sun, 16 Feb 2020 21:44:56 +0000 (UTC) (envelope-from dch@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7DDC82C69F; Sun, 16 Feb 2020 21:44:56 +0000 (UTC) (envelope-from dch@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 01GLiuZw045467; Sun, 16 Feb 2020 21:44:56 GMT (envelope-from dch@FreeBSD.org) Received: (from dch@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 01GLiuEc045466; Sun, 16 Feb 2020 21:44:56 GMT (envelope-from dch@FreeBSD.org) Message-Id: <202002162144.01GLiuEc045466@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: dch set sender to dch@FreeBSD.org using -f From: Dave Cottlehuber Date: Sun, 16 Feb 2020 21:44:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r526329 - head/Mk/Uses X-SVN-Group: ports-head X-SVN-Commit-Author: dch X-SVN-Commit-Paths: head/Mk/Uses X-SVN-Commit-Revision: 526329 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Feb 2020 21:44:56 -0000 Author: dch Date: Sun Feb 16 21:44:56 2020 New Revision: 526329 URL: https://svnweb.freebsd.org/changeset/ports/526329 Log: Update mono USES= as optional buildtime-only dependency Reviewed by: romain Approved by: Maintainer Timeout Sponsored by: SkunkWerks, GmbH Differential Revision: https://reviews.freebsd.org/D23278 Modified: head/Mk/Uses/mono.mk Modified: head/Mk/Uses/mono.mk ============================================================================== --- head/Mk/Uses/mono.mk Sun Feb 16 21:43:18 2020 (r526328) +++ head/Mk/Uses/mono.mk Sun Feb 16 21:44:56 2020 (r526329) @@ -10,6 +10,8 @@ # # Arguments: # +# build Specifies that mono is only a build-time dependency. +# # nuget Specifies that the port uses nuget packages. # # EXTRACT_ONLY is conditionally overridden to exclude all @@ -71,8 +73,8 @@ .if !defined(_INCLUDE_USES_MONO_MK) _INCLUDE_USES_MONO_MK= yes -.if !empty(mono_ARGS:Nnuget) -IGNORE= USES=mono only supports an optional nuget argument +.if !empty(mono_ARGS:Nnuget:Nbuild) +IGNORE= USES=mono only supports optional arguments nuget and build .endif # Set the location of the .wapi directory so we write to a location we @@ -81,7 +83,9 @@ MONO_SHARED_DIR= ${WRKDIR} CONFIGURE_ENV+= MONO_SHARED_DIR="${MONO_SHARED_DIR}" MAKE_ENV+= MONO_SHARED_DIR="${MONO_SHARED_DIR}" TZ=UTC BUILD_DEPENDS+= mono:lang/mono +.if empty(mono_ARGS:Mbuild) RUN_DEPENDS+= mono:lang/mono +.endif # Set the location that webaps served by XSP should use. XSP_DOCROOT= ${PREFIX}/www/xsp