Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Nov 2011 19:34:17 +0400 (MSK)
From:      "Alexey V. Degtyarev" <alexey@renatasystems.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/162565: devel/pcre: link pcretest with libreadline
Message-ID:  <201111141534.pAEFYHtF052571@svc-1.renatasystems.org>
Resent-Message-ID: <201111141610.pAEGA8qc063959@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         162565
>Category:       ports
>Synopsis:       devel/pcre: link pcretest with libreadline
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 14 16:10:07 UTC 2011
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201111141534.pAEFYHtF052571>