From 4347d53db75e6999da4a4a52ada74dda0ac01c65 Mon Sep 17 00:00:00 2001 From: John Marino Date: Thu, 7 Aug 2014 08:40:30 +0000 Subject: [PATCH] devel/pcre: Fix build with LIBEDIT option selected PR: 192459 Submitted by: Hiroo Ono Approved by: Just Fix It (bf@ in copy) --- devel/pcre/Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/devel/pcre/Makefile b/devel/pcre/Makefile index c3154cb1990f..24d3e03b6719 100644 --- a/devel/pcre/Makefile +++ b/devel/pcre/Makefile @@ -52,6 +52,11 @@ PORTDOCS= * CONFIGURE_ARGS+= --disable-stack-for-recursion .endif +# libedit +.if ${PORT_OPTIONS:MLIBEDIT} +CFLAGS+= -I /usr/include/edit +.endif + # Optional knobs that accept positive integer parameters (see pcrebuild(3)): # Allow the use of very large patterns (> 64K) with the 8- and 16-bit