Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Jan 2007 23:23:45 +0300 (MSK)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/108626: [patch] shells/bash-completion: drop dependency shells/bash2
Message-ID:  <200701312023.l0VKNjHg022214@tinderbox.i386.ipt.ru>
Resent-Message-ID: <200701312020.l0VKKDGU013673@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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