Commit graph

4 commits

Author SHA1 Message Date
obache
6cf132141b Use find-headers instead of find-files to detect builtin header files. 2013-11-23 09:10:14 +00:00
ryoon
acd20b1327 Fix builtin detection conditionals.
* Correct detection of following cases.
  non-editline/readline, editline/non-readline, and editline/readline.
* If builtin editline has header files in include/editline, create
  include/readline/* symlinks.
* Fix PR pkg/48062 with above fixes. Confirmed on Ubuntu Linux/amd64 13.04.
2013-07-19 14:35:37 +00:00
ryoon
c9784628bf Fix non-editline builtin case.
Many thanks for obache@.

* READLINE_DEFAULT is depends on builtin editline/readline type if possible.
* _READLINE_ACCEPTED is always "editline readline", both are provided.

Tested on OmniOS (builtin readline-6.2; with some modifications) and NetBSD.

XXX If buitin readline is incompatible, READLINE_DEFAULT is set as readline.
    According to devel/readline/builtin.mk, SunOS, Darwin, and Interix's
    readline is incompatible with GNU readline.
    This behavior should be fixed.
2013-07-18 14:59:04 +00:00
ryoon
580ac0ad77 Add buildlink/builtin mechanism for devel/editline and devel/readline.
With this change, .include "../../devel/readline/buildlink3.mk" with
USE_GNU_READLINE=yes should be replaced with
.include "../../devel/readline/buildlink3.mk",
and .include "../../devel/readline/buildlink3.mk" without USE_GNU_READLINE
should be replaced .include "../../mk/readline.buildlink3.mk".

USE_GNU_READLINE is removed.
2013-07-15 01:54:25 +00:00