NetBSD Problem Report #30559
From kreuter@progn.net Sun Jun 19 13:55:58 2005
Return-Path: <kreuter@progn.net>
Received: from okuili.com (unknown [66.139.79.217])
by narn.netbsd.org (Postfix) with ESMTP id 945E263B116
for <gnats-bugs@gnats.NetBSD.org>; Sun, 19 Jun 2005 13:55:58 +0000 (UTC)
Message-Id: <20050619135418.3D6B714AB0@landru.localdomain>
Date: Sun, 19 Jun 2005 09:54:18 -0400 (EDT)
From: kreuter@progn.net
Reply-To: kreuter@progn.net
To: gnats-bugs@netbsd.org
Subject: rc readline support in options.mk
X-Send-Pr-Version: 3.95
>Number: 30559
>Category: pkg
>Synopsis: rc readline support in options.mk
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Jun 19 13:56:00 +0000 2005
>Closed-Date: Wed Dec 02 09:31:21 +0000 2009
>Last-Modified: Wed Dec 02 09:35:01 +0000 2009
>Originator: kreuter@progn.net
>Release: NetBSD 2.0.2
>Organization:
>Environment:
System: NetBSD landru.localdomain 2.0.2 NetBSD 2.0.2 (LANDRU) #2: Sun May 15 11:26:28 EDT 2005 kreuter@landru:/usr/src/sys/arch/i386/compile/LANDRU i386
Architecture: i386
Machine: i386
>Description:
pkgsrc/shells/rc can optionally be built with support for GNU
readline. This patch adds an option using options.mk to enable this
support.
>How-To-Repeat:
Not applicable.
>Fix:
diff -purN rc.dist/Makefile rc/Makefile
--- rc.dist/Makefile 2005-06-19 09:46:20.000000000 -0400
+++ rc/Makefile 2005-06-19 07:53:03.000000000 -0400
@@ -14,4 +14,6 @@ CONFIGURE_ARGS= --with-history
USE_PKGINSTALL= yes
PKG_SHELL= ${PREFIX}/bin/rc
+.include "options.mk"
+
.include "../../mk/bsd.pkg.mk"
diff -purN rc.dist/options.mk rc/options.mk
--- rc.dist/options.mk 1969-12-31 19:00:00.000000000 -0500
+++ rc/options.mk 2005-06-19 09:40:54.000000000 -0400
@@ -0,0 +1,13 @@
+# $NetBSD: options.mk,v 1.2 2005/05/31 22:04:06 wiz Exp $
+
+PKG_OPTIONS_VAR= PKG_OPTIONS.rc
+PKG_SUPPORTED_OPTIONS= with-readline
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mwith-readline)
+.include "../../devel/readline/buildlink3.mk"
+CONFIGURE_ARGS+= --with-readline
+USE_GNU_READLINE= YES
+.endif
+
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: snj@NetBSD.org
State-Changed-When: Wed, 02 Dec 2009 09:31:21 +0000
State-Changed-Why:
Option added.
From: Soren Jacobsen <snj@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/30559 CVS commit: pkgsrc/shells/rc
Date: Wed, 2 Dec 2009 09:30:49 +0000
Module Name: pkgsrc
Committed By: snj
Date: Wed Dec 2 09:30:49 UTC 2009
Modified Files:
pkgsrc/shells/rc: DESCR Makefile
Log Message:
Add a readline option (disabled by default), as requested in PR pkg/30559.
While here, fix a spelling error in DESCR.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/shells/rc/DESCR
cvs rdiff -u -r1.23 -r1.24 pkgsrc/shells/rc/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.