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 need to have different GHC versions installed on the same system became
more common in the Haskell ecosystem. The devel/stack port solves this problem
by installing its own distributions into the user's HOME dir. Cabal doesn't do
that, but uses system-wide GHC installations. This slave port is intended to
help for such use cases.
This port can also be used as a fallback during major lang/ghc upgrades. At
the moment such upgrades require a lot of work to deal with Haskell packages
fallout. By switching failing ports to older GHC we can deliver lang/ghc
updates faster.
This fixes the following build error with ccache (probably caused
by CCACHE_DIR not propagated through the build properly):
[1 of 1] Compiling Main ( Setup.hs, Setup.o )
ccache: error: Failed to create directory /nonexistent/.ccache/6/3: Permission denied
`clang' failed in phase `Assembler'. (Exit code: 1)
Approved by: portmgr blanket
We actually need iconv on the "configure" stage, but there is no such option.
The "translit" is here to force using libiconv from Ports.
Fixes: 4cb80ca6dd
This is the best approach for ports building its documentation with Sphinx in
html and will save time on future Sphinx updates.
Approved by: portmgr blanket
Add patches to fix Sphinx consumers; The most common issues are related with
pkg-plist, the output files for Sphinx changes between versions, keep this
dynamically is the better approach and will save time in future Sphinx updates.
Changelog: https://github.com/sphinx-doc/sphinx/blob/v3.5.2/CHANGES
PR: 254185
Approved by: python (with hat)
Exp-run by: antoine
The ghc bootstrap (v8.6.5) on arm requires devel/llvm60,
this llvm version is obsolete and still uses python2.7 to build,
update the bootstrap to a newer version (v8.10.4) that requires devel/llvm90
Bump bootstrap to 8.10.4 on arm
Bump minimum required FreeBSD version, 12.1 is not supported anymore
Drop unecessary RUN_DEPENDS
Collapse arm ARCH conditionnal
Approved by: arrowd
Differential Revision: https://reviews.freebsd.org/D28906
GHC saves the llvm command name (llc, opt, clang) found at compile time in its
settings file.
Using BINARY_ALIAS allows lang/ghc to build but breaks
ghc ports (devel/hs-cabal-install for example)
GHC configure script accepts now to define LLC, OPT, CLANG as
environment variable, switch to it.
<no location info>: error:
Warning: Couldn't figure out LLVM version!
Make sure you have installed LLVM 9
<no location info>: error: ghc: could not execute: opt-9.0
PR: 252166, 253367
Approved by: portmgr (tier-2 blanket)
checking for llc-6.0... no
checking for llc... no
checking for opt-6.0... no
checking for opt... no
checking for llc-9... no
checking for llc-9.0... no
checking for llc... no
checking for opt-9... no
checking for opt-9.0... no
checking for opt... no
PR: 252166
Approved by: portmgr (tier-2 blanket)