The fix commited in 17f1bb50e4 clashed
with cc83ec0f74.
The later is a more elegant solution that doesn't require to drop
the header files from being installed.
This commit reverts changes from 17f1bb50e4.
The logic in m4/strtoimax.m4 is inverted: it replaces strtoimax() if and only
if it is present and functional.
files/patch-configure avoids having to run autoreconf in the port and can be
removed once the fix has been adopted upstream.
differential Revision: https://reviews.freebsd.org/D36849
Commit b7f05445c0 has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.
There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.
The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.
Approved by: portmgr (tcberner)
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".
Approved by: portmgr (blanket)
bash actually only requires libtinfo, but up to recent change in
14.0-CURRENT, libtinfo and libncurses were bundled into one single libs,
so linking only to libncurses was not a problem.
By telling bash to link to libtinfo and not to libncurses, it works on
both system where ncurses has been split and those without the split as
there is a libtinfow.so symlink to libncursesw.so on those.
Bundled readline now will use LOCALBASE/etc/inputrc as its ultimate
default inputrc file (instead of /etc/inputrc). This puts these ports in
line with what devel/readline has been doing recently (since 20210103).
PR: 255126
Submitted by: olivier.freebsd@free.fr
Bash Commander is a fork of GNU Bourne Again Shell. It's main feature is
a visual two-panel mode, much like Midnight Commander and other text-mode
visual shells.
WWW: https://github.com/sergev/bash-commander
Also add bashc to the CONFLICTS section of shells/bash.
PR: 253783, 253784
Submitted by: Igor Pokrovsky <ip AT unixway DOT org>
The whole ports tree has been enforced on libncursesw (widechar) version for a while.
With the exception of a few ports including bash.
This is even more problematic in the case of bash because it links to libreadline which is
linked to libncursesw.so
instead of from /etc.
Document this change in UPDATING and provide a migration strategy.
PR: 247934 (based on)
Submitted by: Michael Osipov <michael.osipov@siemens.com>
devel/readline by default but provide an option to keep using the bundled one.
PR: 247932 (based on)
Submitted by: Michael Osipov <michael.osipov@siemens.com>
option is selected.
Loadables will not build statically. The upstream makefile handles this by
ignoring a non-zero exit status by prefixing the build instruction with a minus.
Nevertheless this causes plenty of confusion among our user base.
No PORTREVISION bump as this is a NOOP.
After a discussion on the mailing list on moving manpages to
${PREFIX}/share/man for consistency with base where it is
installed in usr/share/man, it appeared the same should happen
to GNU info files which were installed under share in base and
not in ports.
Now texinfo is not in base on any of the supported version of FreeBSD
it is possible to proceed to this move and it is easier to do than
the manpage change.
Other benefit than consistency are less patching: all build tools but
cmake are expecting info files to be under share/info and cmake (patched here)
was having an exception for BSD so the patch makes FreeBSD case less
specific for them
Bump revision of all impacted ports
PR: 232907
exp-run by: antoine
Differential Revision: https://reviews.freebsd.org/D17816
- Pass -Wl,-export-dynamic to LDFLAGS instead of CFLAGS in order to avoid warning:
cc: warning: -Wl,-export-dynamic: 'linker' input unused [-Wunused-command-line-argument]