Bug 162565 - devel/pcre: link pcretest with libreadline
Summary: devel/pcre: link pcretest with libreadline
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Martin Matuska
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-14 16:10 UTC by Alexey Degtyarev
Modified: 2012-02-14 12:59 UTC (History)
0 users

See Also:


Attachments
pcre-readline.patch (657 bytes, patch)
2011-11-14 16:10 UTC, Alexey Degtyarev
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Degtyarev 2011-11-14 16:10:07 UTC
	
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/
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-11-14 16:10:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mm

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Martin Matuska freebsd_committer freebsd_triage 2012-02-13 17:13:28 UTC
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
Comment 3 dfilter service freebsd_committer freebsd_triage 2012-02-14 12:39:39 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"
Comment 4 Martin Matuska freebsd_committer freebsd_triage 2012-02-14 12:59:44 UTC
State Changed
From-To: open->closed

Resolved linking to libedit. Thanks!