Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Mar 2001 16:28:31 +0200 (CEST)
From:      Christian Weisgerber <naddy@mips.inka.de>
To:        dan@freebsddiary.org
Cc:        gnats-admin@FreeBSD.org, freebsd-ports@FreeBSD.org
Subject:   Re: ports/26091: ksh93 doesn't add itself to /etc/shells
Message-ID:  <200103261428.f2QESVc40870@kemoauc.mips.inka.de>
In-Reply-To: <200103260931.f2Q9VoJ46689@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <200103260931.f2Q9VoJ46689@freefall.freebsd.org> you write:

> >Number:         26091
> >Category:       ports
> >Synopsis:       ksh93 doesn't add itself to /etc/shells

Fixed by this patchlet:

diff -uNr /usr/ports/shells/ksh93/Makefile ksh93/Makefile
--- /usr/ports/shells/ksh93/Makefile	Wed Feb 28 13:51:19 2001
+++ ksh93/Makefile	Mon Mar 26 15:30:35 2001
@@ -35,4 +35,9 @@
 	${INSTALL_MAN} ${WRKSRC}/arch/freebsd.${ARCH}/man/man1/sh.1 \
 	    ${PREFIX}/man/man1/ksh93.1
 
+post-install:
+	@${CP} /etc/shells /etc/shells.bak
+	@(${GREP} -v ${PREFIX}/bin/ksh93 /etc/shells.bak; \
+	  ${ECHO} ${PREFIX}/bin/ksh93) >/etc/shells
+
 .include <bsd.port.mk>
-- 
Christian "naddy" Weisgerber                          naddy@mips.inka.de

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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