svn commit: r465470 - head/shells/bash-completion

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Mar 24 21:10:57 UTC 2018


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


More information about the svn-ports-head mailing list