From nobody@FreeBSD.org  Tue Feb 14 23:37:15 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 5CCCE1065675
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 Feb 2012 23:37:15 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 4BE998FC0C
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 Feb 2012 23:37:15 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q1ENbFNH053930
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 14 Feb 2012 23:37:15 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q1ENbFeT053929;
	Tue, 14 Feb 2012 23:37:15 GMT
	(envelope-from nobody)
Message-Id: <201202142337.q1ENbFeT053929@red.freebsd.org>
Date: Tue, 14 Feb 2012 23:37:15 GMT
From: Kirn Gill <segin2005@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [patch] devel/pcre does not build with LIBEDIT OPTION enabled
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         165156
>Category:       ports
>Synopsis:       [patch] devel/pcre does not build with LIBEDIT OPTION enabled
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    mm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 14 23:40:02 UTC 2012
>Closed-Date:    Thu Mar 01 08:06:18 UTC 2012
>Last-Modified:  Thu Mar 01 08:06:18 UTC 2012
>Originator:     Kirn Gill
>Release:        9.0-RELEASE/amd64
>Organization:
>Environment:
FreeBSD cheapbeast.tampabay.rr.com 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
Enabling the LIBEDIT OPTION on devel/pcre renders the port unable to build. 

Truncated output of buildlog: 

.. 
    Link pcregrep with libz ......... : no
    Link pcregrep with libbz2 ....... : no
    Link pcretest with libedit ...... : yes
    Link pcretest with libreadline .. : no

===>  Building for pcre-8.30
rm -f pcre_chartables.c
ln -s ./pcre_chartables.c.dist pcre_chartables.c
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /usr/ports/devel/pcre/work/pcre-8.30/missing --run aclocal-1.11 -I m4
aclocal-1.11: couldn't open directory `m4': No such file or directory
*** Error code 1

Stop in /usr/ports/devel/pcre/work/pcre-8.30.
*** Error code 1

Stop in /usr/ports/devel/pcre.
*** Error code 1

Stop in /usr/ports/devel/pcre.

>How-To-Repeat:
cd /usr/ports/devel/pcre
make config
select LIBEDIT OPTION
make 

watch it fail as noted above.
>Fix:
Don't use LIBEDIT OPTION as implemented. Disable it for now.

Patch attached with submission follows:

diff -u pcre.orig/Makefile pcre/Makefile
--- pcre.orig/Makefile	2012-02-14 18:27:53.000000000 -0500
+++ pcre/Makefile	2012-02-14 18:28:30.000000000 -0500
@@ -19,8 +19,8 @@
 LICENSE=	BSD
 LICENSE_FILE=	${WRKSRC}/LICENCE
 
-OPTIONS=	JIT "Enable Just-In-Time compiling support" on \
-		LIBEDIT "Link pcretest against libedit" off
+OPTIONS=	JIT "Enable Just-In-Time compiling support" on 
+		# LIBEDIT "Link pcretest against libedit" off
 
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
Common subdirectories: pcre.orig/files and pcre/files


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mm 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Tue Feb 14 23:40:12 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=165156 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/165156: commit references a PR
Date: Wed, 15 Feb 2012 14:12:13 +0000 (UTC)

 mm          2012-02-15 14:11:59 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/pcre           Makefile 
   Log:
   Fix build with WITH_LIBEDIT
   
   PR:             ports/165156
   
   Revision  Changes    Path
   1.74      +3 -1      ports/devel/pcre/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: mm 
State-Changed-When: Thu Mar 1 08:06:17 UTC 2012 
State-Changed-Why:  
Resolved and suggested to vendor. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=165156 
>Unformatted:
