ports/162565: devel/pcre: link pcretest with libreadline

Alexey V. Degtyarev alexey at renatasystems.org
Mon Nov 14 16:10:08 UTC 2011


>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 at 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:



More information about the freebsd-ports-bugs mailing list