Bug 116687 - Update port: devel/libedit enable non-GPL readline emulation
Summary: Update port: devel/libedit enable non-GPL readline emulation
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: Alejandro Pulver
Depends on:
Reported: 2007-09-27 11:10 UTC by Martin Kammerhofer
Modified: 2007-09-29 22:00 UTC (History)
0 users

See Also:

file.diff (3.13 KB, patch)
2007-09-27 11:10 UTC, Martin Kammerhofer
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Kammerhofer 2007-09-27 11:10:01 UTC
Libedit is BSD licensed and contains a GNU Readline emulation. This is
very useful, because GNU Readline - AND THEREFORE EVERY PROGRAM
LINKING AGAINST IT - is under the GPL. Unfortunately in FreeBSD this
emulation feature is not available because it has been disabled.

These patches enable the feature. To avoid conflicts with GNU readline
(either from ports or the base system) headers are installed under
include/editline rather than include/readline and no compatibility
links are made. This is similar to what Debian did. (Yes, they do have
a BSD licensed readline replacement!)

Using the patchset below I have been able to compile
http://sourceforge.net/projects/java-readline/ on FreeBSD and link it
against libedit. I'll submit this too when this PR has been done.
Comment 1 Alejandro Pulver freebsd_committer 2007-09-29 21:50:12 UTC
Responsible Changed
From-To: freebsd-ports-bugs->alepulver

I'll take it.
Comment 2 dfilter service freebsd_committer 2007-09-29 21:59:19 UTC
alepulver    2007-09-29 20:59:12 UTC

  FreeBSD ports repository

  Modified files:
    devel/libedit        Makefile pkg-plist 
  Added files:
    devel/libedit/files  patch-configure patch-readline.c 
  - Enable non-GPL readline implementation.
  PR:             ports/116687
  Submitted by:   Martin Kammerhofer <dada@pluto.tugraz.at>
  Revision  Changes    Path
  1.16      +4 -1      ports/devel/libedit/Makefile
  1.1       +32 -0     ports/devel/libedit/files/patch-configure (new)
  1.1       +11 -0     ports/devel/libedit/files/patch-readline.c (new)
  1.3       +3 -0      ports/devel/libedit/pkg-plist
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Alejandro Pulver freebsd_committer 2007-09-29 21:59:37 UTC
State Changed
From-To: open->closed

Committed. Thanks!