From owner-svn-ports-head@freebsd.org Sat Mar 24 21:10:57 2018 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 31B5CF7019F; Sat, 24 Mar 2018 21:10:57 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2906D7EE7A; Sat, 24 Mar 2018 21:10:55 +0000 (UTC) (envelope-from sunpoet@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 CB00B149F3; Sat, 24 Mar 2018 21:10:54 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2OLAsvC063607; Sat, 24 Mar 2018 21:10:54 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2OLAsvb063606; Sat, 24 Mar 2018 21:10:54 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201803242110.w2OLAsvb063606@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sat, 24 Mar 2018 21:10:54 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465470 - head/shells/bash-completion X-SVN-Group: ports-head X-SVN-Commit-Author: sunpoet X-SVN-Commit-Paths: head/shells/bash-completion X-SVN-Commit-Revision: 465470 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.25 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: Sat, 24 Mar 2018 21:10:57 -0000 Author: sunpoet Date: Sat Mar 24 21:10:54 2018 New Revision: 465470 URL: https://svnweb.freebsd.org/changeset/ports/465470 Log: Support bash-static users - Add BASH_SHARED and BASH_STATIC options Requested by: Melissa Pilgrim Modified: head/shells/bash-completion/Makefile Modified: head/shells/bash-completion/Makefile ============================================================================== --- head/shells/bash-completion/Makefile Sat Mar 24 21:10:49 2018 (r465469) +++ head/shells/bash-completion/Makefile Sat Mar 24 21:10:54 2018 (r465470) @@ -15,11 +15,13 @@ LICENSE_FILE= ${WRKSRC}/COPYING BROKEN_armv6= fails to build: gmake: install-recursive: Error 1 BROKEN_armv7= fails to build: gmake: install-recursive: Error 1 -RUN_DEPENDS= bash:shells/bash - OPTIONS_DEFINE= CMAKE_MODULES DOCS -OPTIONS_DEFAULT=CMAKE_MODULES +OPTIONS_SINGLE= BASH +OPTIONS_SINGLE_BASH= BASH_SHARED BASH_STATIC +OPTIONS_DEFAULT=BASH_SHARED CMAKE_MODULES OPTIONS_SUB= yes +BASH_SHARED_DESC= Use shells/bash as backend +BASH_STATIC_DESC= Use shells/bash-static as backend CMAKE_MODULES_DESC= Install bash-completion modules for cmake NO_ARCH= yes @@ -31,6 +33,9 @@ SUB_LIST= RUNFILE=${DATADIR}/bash_completion.sh GH_ACCOUNT= scop USE_GITHUB= yes + +BASH_SHARED_RUN_DEPENDS=bash:shells/bash +BASH_STATIC_RUN_DEPENDS=bash:shells/bash-static post-patch: @${REINPLACE_CMD} \