From owner-svn-ports-head@freebsd.org Fri Aug 28 13:50:44 2015 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 23A769C3F96; Fri, 28 Aug 2015 13:50:44 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::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 13D97CC2; Fri, 28 Aug 2015 13:50:44 +0000 (UTC) (envelope-from marino@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id t7SDohlv094800; Fri, 28 Aug 2015 13:50:43 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id t7SDohL0094799; Fri, 28 Aug 2015 13:50:43 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201508281350.t7SDohL0094799@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Fri, 28 Aug 2015 13:50:43 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r395484 - head/Mk X-SVN-Group: ports-head 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.20 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: Fri, 28 Aug 2015 13:50:44 -0000 Author: marino Date: Fri Aug 28 13:50:43 2015 New Revision: 395484 URL: https://svnweb.freebsd.org/changeset/ports/395484 Log: Mk/bsd.port.mk: Add PKG_CREATE_VERBOSE functionality When PKG_CREATE_VERBOSE is set, the "-v" option will be added to the arguments for PKG_CREATE. The intended use is for poudriere and other build monitors that can time out. The verbose option of pkg create will periodically emit output as the package is being created. It would be set mk.conf (the DragonFly version of poudriere will set it unconditionally during package building). Approved by: portmgr Differential Revision: https://reviews.freebsd.org/D3507 Modified: head/Mk/bsd.port.mk Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Fri Aug 28 13:39:56 2015 (r395483) +++ head/Mk/bsd.port.mk Fri Aug 28 13:50:43 2015 (r395484) @@ -1024,6 +1024,10 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org # has been specified in distinfo. This is useful # when using an alternate FETCH_CMD. # +# PKG_CREATE_VERBOSE - If set, pass the -v option to pkg create which +# ensures periodic output during packaging and +# will help prevent timeouts by build monitors +# # End of the list of all variables that need to be defined in a port. # Most port authors should not need to understand anything after this point. # @@ -3453,6 +3457,9 @@ do-install: .if !target(do-package) PKG_CREATE_ARGS= -r ${STAGEDIR} -m ${METADIR} -p ${TMPPLIST} +.if defined(PKG_CREATE_VERBOSE) +PKG_CREATE_ARGS+= -v +.endif do-package: create-manifest do-package: ${TMPPLIST} @if [ -d ${PACKAGES} ]; then \