Bug 192459 - devel/pcre build with option LIBEDIT failed
Summary: devel/pcre build with option LIBEDIT failed
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: John Marino
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-07 04:55 UTC by Hiroo Ono
Modified: 2014-08-07 08:41 UTC (History)
2 users (show)

See Also:


Attachments
add proper include when LIBEDIT option is choosed. (342 bytes, patch)
2014-08-07 04:56 UTC, Hiroo Ono
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hiroo Ono 2014-08-07 04:55:09 UTC
Choosing LIBEDIT option with pcre port result in buld failure.
----
pcretest.c:77:10: fatal error: 'readline/readline.h' file not found
#include <readline/readline.h>
         ^
1 error generated.
*** Error code 1
----

Attached patch for the port's Makefile solves the problem.
Comment 1 Hiroo Ono 2014-08-07 04:56:25 UTC
Created attachment 145437 [details]
add proper include when LIBEDIT option is choosed.
Comment 2 John Marino freebsd_committer freebsd_triage 2014-08-07 07:03:51 UTC
Adding maintainer to CC, but taking the PR --- it's straightforward.
Comment 3 commit-hook freebsd_committer freebsd_triage 2014-08-07 08:41:11 UTC
A commit references this bug:

Author: marino
Date: Thu Aug  7 08:40:30 UTC 2014
New revision: 364251
URL: http://svnweb.freebsd.org/changeset/ports/364251

Log:
  devel/pcre: Fix build with LIBEDIT option selected

  PR:		192459
  Submitted by:	Hiroo Ono
  Approved by:	Just Fix It (bf@ in copy)

Changes:
  head/devel/pcre/Makefile
Comment 4 John Marino freebsd_committer freebsd_triage 2014-08-07 08:41:57 UTC
Thanks!