diff options
Diffstat (limited to 'shells/rc/Makefile')
-rw-r--r-- | shells/rc/Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/shells/rc/Makefile b/shells/rc/Makefile index 9126ae96a38..ccff6d249e7 100644 --- a/shells/rc/Makefile +++ b/shells/rc/Makefile @@ -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 @@ CONFIGURE_ARGS+= --with-history 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" |