pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/shells/rc Add a readline option (disabled by default),...
details: https://anonhg.NetBSD.org/pkgsrc/rev/4437200a97ef
branches: trunk
changeset: 568016:4437200a97ef
user: snj <snj%pkgsrc.org@localhost>
date: Wed Dec 02 09:30:49 2009 +0000
description:
Add a readline option (disabled by default), as requested in PR pkg/30559.
While here, fix a spelling error in DESCR.
diffstat:
shells/rc/DESCR | 2 +-
shells/rc/Makefile | 13 ++++++++++++-
2 files changed, 13 insertions(+), 2 deletions(-)
diffs (37 lines):
diff -r efaa919928a7 -r 4437200a97ef shells/rc/DESCR
--- a/shells/rc/DESCR Wed Dec 02 09:29:40 2009 +0000
+++ b/shells/rc/DESCR Wed Dec 02 09:30:49 2009 +0000
@@ -2,7 +2,7 @@
FEEPING CREATURISM
-See the end of the man page, under "INCOMPATABILITIES" for (known?)
+See the end of the man page, under "INCOMPATIBILITIES" for (known?)
differences from the "real" rc. Most of these changes were necessary
to get rc to work in a reasonable fashion on a real (i.e., commercial,
non-Labs) UNIX system; a few were changes motivated by concern
diff -r efaa919928a7 -r 4437200a97ef shells/rc/Makefile
--- a/shells/rc/Makefile Wed Dec 02 09:29:40 2009 +0000
+++ b/shells/rc/Makefile Wed Dec 02 09:30:49 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2008/04/06 00:14:28 christos Exp $
+# $NetBSD: Makefile,v 1.24 2009/12/02 09:30:49 snj Exp $
DISTNAME= rc-1.7
CATEGORIES= shells plan9
@@ -13,4 +13,15 @@
PKG_SHELL= bin/rc
+PKG_OPTIONS_VAR= PKG_OPTIONS.rc
+PKG_SUPPORTED_OPTIONS= readline
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mreadline)
+.include "../../devel/readline/buildlink3.mk"
+CONFIGURE_ARGS+= --with-readline
+USE_GNU_READLINE= YES
+.endif
+
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index