Age | Commit message (Collapse) | Author |
|
MacOS ships with an out of date ncurses that can't properly generate
terminfo from the newer source code. This change checks for a valid
`tic` executable of the proper version, first in PATH and then in
the Homebrew cellar if brew is installed. Otherwise it aborts
installation.
See comment in the code as well as the following for details:
https://github.com/termux/termux-packages/issues/4487#issuecomment-626277493
https://lists.gnu.org/archive/html/bug-ncurses/2019-07/msg00020.html.
|
|
|
|
|
|
Hello ncursesw!
|
|
I haven't considered that someone might try to build ncurses twice.
|
|
Some applications search for the external version of libtic and
libtinfo, which are no longer present after
91ad7754fe156a6831eabdc49d1400e230b36b96.
Having a symlink fixes that, since libncurses exports the necessary
functions if they aren't available as a seperate library.
|
|
We may need entries with spaces in makeopts, installopts, and
configopts, and at that point we should also convert depends and
auth_opts to avoid confusion.
|
|
In commit ba97548686 `--with-termlib` was added to produce a
`libtinfo.a` file that nano then required. However, this causes ncurses
to build with _only_ screen-pointer ext funcs: e.g.
`reset_prog_mode_sp` exists, but `reset_prog_mode` does not.
By switching to `--enable-term-driver`, all functions are properly
exported again and the nano port compiles and runs just fine. :^)
|
|
|
|
This sets the --with-shared switch for the configure script so that
ncurses is compiled as a shared library in addition the default which is
a static library.
Without the --with-shared switch ncurses will only be compiled as a
static library.
To properly set the environment variables LOCAL_LDFLAGS and
LOCAL_LDFLAGS2, a case in the configure script had to be updated to
include '*serenity*'.
|
|
When building with ccache these ports failed to build because
CC contains more than one word.
The ncurses port also doesn't like how ccache preprocesses
files. This patch fixes that.
|
|
Unlike what the name might suggest ftpmirror.gnu.org isn't
accessible via FTP.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* Use ${version} instead of explicit version numbers in urls/filenames
* Move -L option to port script, as this is always good
* Fix some various other stuff
|
|
This ensures that a libtinfo.a is produced, which is needed by nano.
|
|
|
|
Partial revert of 704f48d7f3a1a88047a64b4e2939878d6d4fafb8.
These changes made the ports system unusable.
|
|
Ports/.port_include.sh, Toolchain/BuildIt.sh, Toolchain/UseIt.sh
have been left largely untouched due to use of Bash-exclusive
functions and variables such as $BASH_SOURCE, pushd and popd.
|
|
Much redundancy is removed from package scripts with this system.
It also supports simple dependency management, uninstalling (through
BSD ports style plist files), cleaning up after itself (with clean,
clean_dist, clean_all commands), etc.
|
|
Maybe we should build a specific version of ncurses instead but this at
least makes it work again for now.
|
|
|
|
|