Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Mar 2018 21:10:54 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r465470 - head/shells/bash-completion
Message-ID:  <201803242110.w2OLAsvb063606@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <heliosyne@gmail.com>

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} \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803242110.w2OLAsvb063606>