diff options
author | jperkin <jperkin@pkgsrc.org> | 2013-08-21 20:02:50 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2013-08-21 20:02:50 +0000 |
commit | c6ba60c9779d97533ec92999e01c115593c646bb (patch) | |
tree | f0a90279490d90786cda4ba7afa210e92a1c5ac3 /devel | |
parent | eabd23667ba4e7518503d90925426351e42d945f (diff) | |
download | pkgsrc-c6ba60c9779d97533ec92999e01c115593c646bb.tar.gz |
Fix fallout from the readline shuffle. Makes this package build with
readline.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/ruby-readline/options.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/ruby-readline/options.mk b/devel/ruby-readline/options.mk index 9318349c9b0..a3abde08091 100644 --- a/devel/ruby-readline/options.mk +++ b/devel/ruby-readline/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.5 2013/07/15 02:02:21 ryoon Exp $ +# $NetBSD: options.mk,v 1.6 2013/08/21 20:02:50 jperkin Exp $ # PKG_OPTIONS_VAR= PKG_OPTIONS.ruby @@ -21,6 +21,10 @@ PKG_SUGGESTED_OPTIONS+= readline .include "../../mk/bsd.options.mk" .if !empty(PKG_OPTIONS:Mreadline) -CONFIGURE_ARGS+= --enable-libedit . include "../../mk/readline.buildlink3.mk" +. if ${READLINE_TYPE} == "editline" +CONFIGURE_ARGS+= --enable-libedit +. else +CONFIGURE_ARGS+= --disable-libedit +. endif .endif |