From 209929898eaad3024eb888954caeb6b0a9b0d8b3 Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Thu, 16 Aug 2012 11:49:52 +0200 Subject: [PATCH] heimdal: changed to use readline if available Note: This also avoids the installation of the included libeditline. --- security/heimdal/heimdal.conf | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/security/heimdal/heimdal.conf b/security/heimdal/heimdal.conf index b130b13f0..50f87d8b0 100644 --- a/security/heimdal/heimdal.conf +++ b/security/heimdal/heimdal.conf @@ -45,6 +45,13 @@ if pkginstalled -f sqlite; then var_append extraconfopt ' ' "--with-sqlite3=$( pkgprefix -r sqlite )" fi +# use system readline if available which also avoids the installation of the +# included libeditline +if pkginstalled -f readline; then + pkgprefix -t readline + var_append extraconfopt ' ' "--with-readline=$( pkgprefix -r readline )" +fi + var_append extraconfopt ' ' "--enable-shared" var_append extraconfopt ' ' "--libexecdir=$sbindir"