Summary: | [patch] sysutils/bareos-server readline isn't being found by configure | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Douglas K. Rand <doug.rand> | ||||
Component: | Individual Port(s) | Assignee: | Jose Alonso Cardenas Marquez <acm> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Some People | Keywords: | patch | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(acm) |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
A commit references this bug: Author: acm Date: Fri Jul 7 02:19:22 UTC 2017 New revision: 445197 URL: https://svnweb.freebsd.org/changeset/ports/445197 Log: - Update to 16.2.6 - Fix readline detection [1] PR: 219201 [1] Submitted by: rand at iteris.com [1] Changes: head/sysutils/bareos-client/Makefile head/sysutils/bareos-client-static/Makefile head/sysutils/bareos-docs/Makefile head/sysutils/bareos-docs/distinfo head/sysutils/bareos-server/Makefile head/sysutils/bareos-server/distinfo |
Created attachment 182489 [details] Patch to correctly locate the readline tool The configure script with Bareos is only looking in /usr/include for readline when "--with-readline=yes" is specified: checking /usr/include/readline/readline.h usability... no checking /usr/include/readline/readline.h presence... no checking for /usr/include/readline/readline.h... no With the trivial change to the Makefile (really trivial patch attached) of using "--with-readline=${PREFIX}" readline is correctly located and included: checking /usr/local/include/readline/readline.h usability... yes checking /usr/local/include/readline/readline.h presence... yes checking for /usr/local/include/readline/readline.h... yes This makes the bconsole command much nicer to use.