Subject: pkg/20010: shells/{bash,tcsh} should conflict with its static version
To: None <gnats-bugs@gnats.netbsd.org>
From: Ryo HAYASAKA <ryoh@jaist.ac.jp>
List: netbsd-bugs
Date: 01/23/2003 21:04:44
>Number: 20010
>Category: pkg
>Synopsis: shells/{bash,tcsh} should conflict with its static version
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jan 23 04:05:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator: Ryo HAYASAKA
>Release: NetBSD 1.6L, the latest pkgsrc tree
>Organization:
Japan Advanced Institute of Science and Technology (JAIST)
>Environment:
System: NetBSD bonnie.jaist.ac.jp 1.6L NetBSD 1.6L (BONNIE) #358: Wed Jan 22 04:18:23 JST 2003 ryoh@bonnie.jaist.ac.jp:/home/ryoh/util/compile/BONNIE i386
Architecture: i386
Machine: i386
>Description:
shells/{bash,tcsh} should conflict with its static version.
>How-To-Repeat:
First install the static version of bash or tcsh, and then try to
install dynamic version of it. This will override the previous
(static) version.
>Fix:
Index: bash2/Makefile
===================================================================
RCS file: /usr/cvsup/pkgsrc/shells/bash2/Makefile,v
retrieving revision 1.41
diff -d -p -u -r1.41 Makefile
--- bash2/Makefile 22 Dec 2002 19:04:08 -0000 1.41
+++ bash2/Makefile 23 Jan 2003 11:54:40 -0000
@@ -11,6 +11,8 @@ MAINTAINER= packages@netbsd.org
HOMEPAGE= http://www.gnu.org/software/bash/bash.html
COMMENT= The GNU Bourne Again Shell
+CONFLICTS= static-bash-[0-9]*
+
USE_BUILDLINK2= # defined
GNU_CONFIGURE= # defined
MAKE_ENV+= INSTALL_SCRIPT='${INSTALL_SCRIPT}'
Index: tcsh/Makefile
===================================================================
RCS file: /usr/cvsup/pkgsrc/shells/tcsh/Makefile,v
retrieving revision 1.40
diff -d -p -u -r1.40 Makefile
--- tcsh/Makefile 17 Nov 2002 09:02:01 -0000 1.40
+++ tcsh/Makefile 23 Jan 2003 11:46:22 -0000
@@ -12,6 +12,8 @@ MAINTAINER= kim@tac.nyc.ny.us
HOMEPAGE= http://www.tcsh.org/
COMMENT= Extended C-shell with many useful features
+CONFLICTS= static-tcsh-[0-9]*
+
USE_BUILDLINK2= yes
GNU_CONFIGURE= yes
ALL_TARGET= all catalogs
>Release-Note:
>Audit-Trail:
>Unformatted: