From alexey@svc-1.renatasystems.org  Mon Nov 14 16:06:48 2011
Return-Path: <alexey@svc-1.renatasystems.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 44962106564A
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 Nov 2011 16:06:48 +0000 (UTC)
	(envelope-from alexey@svc-1.renatasystems.org)
Received: from svc-1.renatasystems.org (svc-1.renatasystems.org [87.242.77.204])
	by mx1.freebsd.org (Postfix) with ESMTP id A63D08FC17
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 Nov 2011 16:06:47 +0000 (UTC)
Received: from svc-1.renatasystems.org (localhost [127.0.0.1])
	by svc-1.renatasystems.org (8.14.4/8.14.4) with ESMTP id pAEFYHMU052572
	for <FreeBSD-gnats-submit@freebsd.org>; Mon, 14 Nov 2011 18:34:17 +0300 (MSK)
	(envelope-from alexey@svc-1.renatasystems.org)
Received: (from alexey@localhost)
	by svc-1.renatasystems.org (8.14.4/8.14.4/Submit) id pAEFYHtF052571;
	Mon, 14 Nov 2011 19:34:17 +0400 (MSK)
	(envelope-from alexey)
Message-Id: <201111141534.pAEFYHtF052571@svc-1.renatasystems.org>
Date: Mon, 14 Nov 2011 19:34:17 +0400 (MSK)
From: "Alexey V. Degtyarev" <alexey@renatasystems.org>
Reply-To: "Alexey V. Degtyarev" <alexey@renatasystems.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: devel/pcre: link pcretest with libreadline
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         162565
>Category:       ports
>Synopsis:       devel/pcre: link pcretest with libreadline
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    mm
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 14 16:10:07 UTC 2011
>Closed-Date:    Tue Feb 14 12:59:45 UTC 2012
>Last-Modified:  Tue Feb 14 12:59:45 UTC 2012
>Originator:     Alexey V. Degtyarev
>Release:        FreeBSD 8.2-RELEASE-p3 amd64
>Organization:
>Environment:
System: FreeBSD renatasystems.org 8.2-RELEASE-p3 FreeBSD 8.2-RELEASE-p3 #0: Wed Sep 28 14:37:47 UTC 2011 root@amd64-builder.renatasystems.org:/usr/obj/usr/src/sys/GENERIC amd64


	
>Description:
	
Compile pcretest so that it links with the libreadline - when pcretest's input
is from a terminal, it reads it using the readline() function. This provides
line-editing and history facilities.

Then using readline pay attention to license issues - GNU Readline is a free
software library which is licensed under the GNU General Public License,
version 3.

http://www.gnu.org/s/readline/
>How-To-Repeat:
	
>Fix:

	

--- pcre-readline.patch begins here ---
diff -Nru pcre.orig/Makefile pcre/Makefile
--- pcre.orig/Makefile	2011-11-09 15:25:32.000000000 +0000
+++ pcre/Makefile	2011-11-14 15:09:13.000000000 +0000
@@ -19,7 +19,8 @@
 LICENSE=	BSD
 LICENSE_FILE=	${WRKSRC}/LICENCE
 
-OPTIONS=	JIT "Enable Just-In-Time compiling support" on
+OPTIONS=	JIT "Enable Just-In-Time compiling support" on \
+		READLINE "Link pcretest with libreadline" on
 
 USE_BZIP2=	yes
 GNU_CONFIGURE=	yes
@@ -34,6 +35,12 @@
 CONFIGURE_ARGS+=	--disable-jit
 .endif
 
+.if defined(WITH_READLINE)
+LICENSE+=	GPLv3
+LICENSE_COMB=	multi
+CONFIGURE_ARGS+=	--enable-pcretest-libreadline	
+.endif
+
 .if !defined(NOPORTDOCS)
 PORTDOCS=	*
 .endif
--- pcre-readline.patch ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->mm 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Nov 14 16:10:23 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

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

From: Martin Matuska <mm@FreeBSD.org>
To: bug-followup@FreeBSD.org, alexey@renatasystems.org
Cc:  
Subject: Re: ports/162565: devel/pcre: link pcretest with libreadline
Date: Mon, 13 Feb 2012 18:13:28 +0100

 I am preparing a update to 8.30 and solve this not by linking to
 readline but libedit instead.
 Libedit is compatible (so no changes to source code needed) and we don't
 have to change the license.
 
 It is already tested on my side and works very well with -ledit
 
 -- 
 Martin Matuska
 FreeBSD committer
 http://blog.vx.sk
 

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

 mm          2012-02-14 12:39:23 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/pcre           Makefile distinfo pkg-plist 
   Added files:
     devel/pcre/files     extra-patch-libedit 
   Removed files:
     devel/pcre/files     patch-pcre_compile.c 
   Log:
   Update PCRE to 8.30
   Add support for binding pcretest to libedit [1]
   
   PR:             ports/162565 [1]
   
   Revision  Changes    Path
   1.73      +85 -21    ports/devel/pcre/Makefile
   1.39      +2 -2      ports/devel/pcre/distinfo
   1.1       +105 -0    ports/devel/pcre/files/extra-patch-libedit (new)
   1.4       +0 -34     ports/devel/pcre/files/patch-pcre_compile.c (dead)
   1.17      +1 -1      ports/devel/pcre/pkg-plist
 _______________________________________________
 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: Tue Feb 14 12:59:44 UTC 2012 
State-Changed-Why:  
Resolved linking to libedit. Thanks! 

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