From 32ec9648e738801eb38ef5bce362802d8b753e7c Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Thu, 4 Sep 2008 16:22:52 -0400 Subject: [PATCH] lvm2: enhanced to disable readline if it's not installed --- base/lvm2/lvm2.conf | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/base/lvm2/lvm2.conf b/base/lvm2/lvm2.conf index f4aed64db..bcffb098b 100644 --- a/base/lvm2/lvm2.conf +++ b/base/lvm2/lvm2.conf @@ -2,7 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../lvm2/lvm2.conf -# Copyright (C) 2007 The OpenSDE Project +# Copyright (C) 2007 - 2008 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # # More information can be found in the files COPYING and README. @@ -40,3 +40,7 @@ atstage native || autogen=1 # our STRIP definition makes conflict with this package which defined STRIP # as an argument for `install` export STRIP= + +if ! pkginstalled readline; then + var_append extraconfopt ' ' '--disable-readline' +fi