Bug 192459

Summary: devel/pcre build with option LIBEDIT failed
Product: Ports & Packages Reporter: Hiroo Ono <hiroo.ono+freebsd>
Component: Individual Port(s)Assignee: John Marino <marino>
Status: Closed FIXED    
Severity: Affects Some People CC: bf, marino
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
add proper include when LIBEDIT option is choosed. none

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!