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

Ports-bugs

alexeyrenatasystemsorg
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/
	

	

--- pcre-readline.patch begins here ---
diff -Nru pcre.orig/Makefile pcre/Makefile


@@ -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
                                            
edwinFreeBSDorg
Synopsis: devel/pcre: link pcretest with libreadline

Responsible-Changed-From-To: freebsd-ports-bugs->mm
Responsible-Changed-By: edwin

Responsible-Changed-Why: 
Over to maintainer (via the GNATS Auto Assign Tool)

http://www.freebsd.org/cgi/query-pr.cgi?pr=162565
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs
To unsubscribe, send any mail to "[email protected]"