ports/108626: [patch] shells/bash-completion: drop dependency shells/bash2

Boris Samorodov bsam at FreeBSD.org
Wed Jan 31 20:20:13 UTC 2007


>Number:         108626
>Category:       ports
>Synopsis:       [patch] shells/bash-completion: drop dependency shells/bash2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 31 20:20:12 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Boris Samorodov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
InPharmTech, Co. http://www.ipt.ru
>Environment:
System: FreeBSD tinderbox.i386.ipt.ru 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Mon Jan 29 02:38:41 MSK 2007 bsam at tinderbox.i386.ipt.ru:/usr/obj/usr/src/sys/GENERIC i386

>Description:
	In preparation to deprecate shells/bash2 the dependency should be
	dropped.
>How-To-Repeat:
>Fix:
	- drop OPTIONS for BASH2;
	- drop variable RUN_DEPENDS for shells/bash2;
	- do not bump PORTREVISION since this dependency is not default.

--- bash-completion.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/shells/bash-completion/Makefile,v
retrieving revision 1.16
diff -u -r1.16 Makefile
--- Makefile	31 Oct 2006 10:13:10 -0000	1.16
+++ Makefile	31 Jan 2007 20:07:57 -0000
@@ -20,16 +20,11 @@
 SUB_FILES=	pkg-message
 PLIST_FILES=	etc/bash_completion
 
-OPTIONS=	BASH2	"Use shells/bash2 instead of shells/bash"	off \
-		GSED	"Use GNU sed to enable additional completions"	off
+OPTIONS=	GSED	"Use GNU sed to enable additional completions"	off
 
 .include <bsd.port.pre.mk>
 
-.if defined(WITH_BASH2)
-RUN_DEPENDS+=	bash:${PORTSDIR}/shells/bash2
-.else
 RUN_DEPENDS+=	bash:${PORTSDIR}/shells/bash
-.endif
 
 .if defined(WITH_GSED)
 RUN_DEPENDS+=	gsed:${PORTSDIR}/textproc/gsed
--- bash-completion.diff ends here ---

WBR
-- 
bsam

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list