Commit Graph

377 Commits

Author SHA1 Message Date
Piotr Kubaj
033129624c lang/rust: drop bfd on powerpc 2024-04-27 16:14:34 +02:00
Max Brazhnikov
43d9a1336d */*: convert to cmake:indirect
Convert bunch of ports to USES=cmake:indirect
2024-04-11 12:16:53 +03:00
Mikael Urankar
6f156f501c lang/rust: Update bootstrap for aarch64
The previous one did not work.

PR:		277921
2024-03-26 13:43:32 +01:00
Mikael Urankar
73941e6741 lang/rust: Update to 1.77.0
Announce:	https://blog.rust-lang.org/2024/03/21/Rust-1.77.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.77.0

PR:		277786
Tested by:	mikael
2024-03-23 10:41:45 +01:00
Mikael Urankar
06fa1fe217 lang/rust: Update bootstrap for powerpc
The previous one did not work.

Reported by:	pkubaj
2024-02-25 19:57:19 +01:00
Mikael Urankar
5f41aae86e lang/rust: Update bootstrap for aarch64
The previous one did not work.

PR:		277220
2024-02-24 14:07:29 +01:00
Charlie Li
d2fc4ce57d lang/rust: bump PORT_LLVM minimum version to 16
Source: 7de6d04bc8
2024-02-19 09:10:01 -05:00
Mikael Urankar
2252f9df9d lang/rust: Update to 1.76.0
Announce:	https://blog.rust-lang.org/2024/02/08/Rust-1.76.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.76.0

PR:		276920
Tested by:	mikael,pkubaj
2024-02-19 12:59:01 +01:00
Piotr Kubaj
ddce67e0d0 lang/rust: remove not necessary patch 2024-01-10 10:47:12 +01:00
Mikael Urankar
f5538d2b59 lang/rust: Fix REINPLACE_CMD with PORT_LLVM option on
PR:		276033
Reported by:	Ale <discipline@tiscali.it>
2024-01-09 15:22:25 +01:00
Mikael Urankar
ba388fc3bb lang/rust: Update to 1.75.0
Announce:	https://blog.rust-lang.org/
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.75.0

PR:		276033
Tested by:	mikael,pkubaj
2024-01-09 13:13:49 +01:00
Muhammad Moinur Rahman
bbab7f59e9 */*: Sunset 12.4-RELEASE/12-STABLE from ports tree
- Remove all references to defunct ARCH arm
- Remove all references to defunct ARCH sparc64
- Remove x11-drivers/xf86-video-sunffb which requires defunct sparc64
  ARCH
- Remove sysutils/afbinit requires defunct sparc64 ARCH
- Remove all references to bktr driver
- Remove all references to defunct FreeBSD_12
- Remove all references to OSVERSION/OSREL corresponding to 12
- Remove conditionals in Mk/Uses/cabal.mk
- Remove sparc reference from Mk/Uses/qt-dist.mk
- Remove BROKEN_sparc64/NOT_FOR_ARCH=sparc64
- Remove BROKEN_FreeBSD_12* from:
- Remove OpenSSL patches from:
- Remove conditional flags for OSVERSION >= 1300000 to fixed flags.
  Also move conditional flags for non sparc64/arm ARCH to fixed flags.

Reviewed by:	brooks, jbeich, rene, salvadore
Differential Revision: https://reviews.freebsd.org/D42068
2023-12-31 01:37:05 +01:00
Mikael Urankar
c926bbff4b lang/rust: Update to 1.74.1
Announce:	https://blog.rust-lang.org/2023/12/07/Rust-1.74.0.html
		https://blog.rust-lang.org/2023/11/16/Rust-1.74.1.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.74.0
		https://github.com/rust-lang/rust/releases/tag/1.74.1

PR:		275243
Tested by:	mikael,pkubaj
2023-12-08 16:02:25 +01:00
Mikael Urankar
3966e6733b lang/rust: Garbage collect powerpc patches
PR:	273753
2023-11-22 17:38:26 +01:00
Mikael Urankar
13de47f0ac lang/rust: Update to 1.73.0
Announce:	https://blog.rust-lang.org/2023/10/05/Rust-1.73.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.73.0

PR:		274499
Tested by:	mikael,pkubaj
2023-10-24 12:21:32 +02:00
Charlie Li
60fafb9242 lang/rust: fix typo uncaught from previous commit
Use ${LLVM_VERSION} provided from USES=llvm for consistency
2023-10-09 11:34:19 -04:00
Charlie Li
098de5bc21 lang/rust: resurrect PORT_LLVM as a non-default OPTION
Rust uses LLVM for code generation [0] and bundles their own copy
of a release that they fully support in relation to the rest of
rustc. This however adds to an already intensive build process. For
the benefit of those building from source, resurrect the PORT_LLVM
option, allowing to link with an existing devel/llvm port of the
user's choosing within Rust compatibility ranges. This remains unset
by default.

PORT_LLVM was removed during an era when Rust tracked LLVM trunk,
during the LLVM 7.0 development cycle. Starting with LLVM 8.0, Rust
tracks LLVM releases with upstream cherry-picks, similar to our
base system LLVM process. [1] Additionally, instead of making changes
directly in their bundled LLVM, llvm-wrapper takes care of anything
needed in that area. [2] Issues stemming from this option have since
been resolved or overcome.

[0] https://rustc-dev-guide.rust-lang.org/backend/codegen.html
[1] https://rustc-dev-guide.rust-lang.org/backend/updating-llvm.html
[2] https://github.com/rust-lang/rust/tree/master/compiler/rustc_llvm/llvm-wrapper

Co-authored-by: Evgeniy Khramtsov <2khramtsov_gmail.com>
Approved by: tobik (rust)
Differential Revision: https://reviews.freebsd.org/D32654
2023-10-09 11:30:33 -04:00
Mikael Urankar
fa87481392 lang/rust: Update to 1.72.0
Announce:	https://blog.rust-lang.org/2023/08/24/Rust-1.72.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.72.0

PR:		244316
Tested by:	mikael,pkubaj
2023-09-08 11:05:43 +02:00
Mikael Urankar
e3d08dfcd4 lang/rust: Update to 1.71.0
Announce:	https://blog.rust-lang.org/2023/07/13/Rust-1.71.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.71.0

PR:		272449
Tested by:	mikael,pkubaj,vishwin
2023-07-17 17:57:41 +02:00
Piotr Kubaj
bf0af791ab lang/rust: add LTO option 2023-07-16 12:58:20 +02:00
Tobias Kortkamp
8bcbc1e32c lang/rust: Fix build with LibreSSL 3.7.x
PR:		266670
Obtained from:	OpenBSD Ports
2023-06-30 13:40:19 +02:00
Rene Ladan
3d9a815d9c all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
2023-06-27 21:34:34 +02:00
Mikael Urankar
1fbe8feadf lang/rust: Documentation installation fix.
Add the missing  _COMPONENTS for the documentation.

Differential Revision:	https://reviews.freebsd.org/D40510
2023-06-20 12:29:14 +02:00
Mikael Urankar
d3462f66cf lang/rust: Fix docs building.
Add the missing "pub struct sockcred2" in module "libc".
Error:
error[E0412]: cannot find type `sockcred2` in module `libc`
   --> library/std/src/os/unix/net/ancillary.rs:211:29
    |
211 | pub struct SocketCred(libc::sockcred2);
    |                             ^^^^^^^^^ not found in `libc`

Reported by:		kib
Differential Revision:	https://reviews.freebsd.org/D40509
2023-06-20 12:29:13 +02:00
Mikael Urankar
c073e72f5f lang/rust: Garbage collect shebangfix
These issues were fixed a year ago.

Differential Revision:	https://reviews.freebsd.org/D40508
2023-06-20 12:29:13 +02:00
Mikael Urankar
6b9789547d lang/rust: Update to 1.70.0
Announce:	https://blog.rust-lang.org/2023/06/01/Rust-1.70.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.70.0

PR:		271797
Tested by:	mikael,pkubaj
2023-06-09 13:38:15 +02:00
Vladyslav Movchan
69b4156756 lang/rust: Add rust-analyzer-proc-macro-srv back to the package
This binary is required for proc macro expansion in rust-analyzer

PR:		271179
2023-05-02 13:45:46 +02:00
Mikael Urankar
624bde48cd lang/rust: always build rustdoc
Due to a regression in rust [1], rustdoc is not built anymore but
is required by some ports.
Force the build of rustdoc.

[1] 11e002a001

PR:		271036
2023-04-24 19:50:43 +02:00
Piotr Kubaj
fe87003af1 lang/rust: drop binutils dependency on powerpc
It's not used anymore.
2023-04-24 11:43:39 +02:00
Mikael Urankar
8cc5eb3159 lang/rust: Update to 1.69.0
Announce:	https://blog.rust-lang.org/2023/04/20/Rust-1.69.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.69.0

PR:		270953
Tested by:	mikael,pkubaj
2023-04-23 15:13:48 +02:00
Muhammad Moinur Rahman
56932296b7 */*: Sunset 12.3-RELEASE from ports tree
- Mk/bsd.port.mk: mark FreeBSD 12.3 as unsupported.
- Mk/Uses/cabal.mk: Remove the text-2 workaround for 12.3-RELEASE
- biology/wfa2-lib: remove obsolete patch
- databases/mongodb60: remove IGNORE for EOL FreeBSD 12.3
- devel/concurrencpp: remove workaround for EOL FreeBSD 12.3
- devel/electron22: remove IGNORE for EOL FreeBSD 12.3
- devel/malloy: this should build fine on 12.4-RELEASE
- devel/qcoro: remove BROKEN for EOL FreeBSD 12.3
- devel/root: remove workaround for EOL FreeBSD 12.3
- editors/imhex: remove IGNORE for EOL FreeBSD 12.3
- emulators/ppsspp: remove workaround for EOL FreeBSD 12.3
- emulators/rpcs3: remove workaround for EOL FreeBSD 12.3
- emulators/yuzu: remove workaround for EOL 12.3-RELEASE
- games/aquaria: remove support for EOL FreeBSD 12.3
- games/punchy: remove workaround for EOL FreeBSD 12.3
- graphics/cxxplot: remove support for EOL FreeBSD 12.3
- lang/gcc11*: bump a __FreeBSD_version in libphobos to 1204000
- lang/rust: untangle OSVERSION logic a bit
- misc/mbuffer: remove workaround for EOL FreeBSD 12.3 for aarch64
- sysutils/libdisplay-info: remove workaround for EOL FreeBSD 12.3
- www/*chromium: remove IGNORE for EOL FreeBSD 12.3
- x11/hyprpaper: remove workaround for expired FreeBSD 12.3
- x11-wm/labwc: remove workaround for EOL FreeBSD 12.3
- x11-wm/kwinft: remove workaround for EOL FreeBSD 12.3
- www/iridium: remove IGNORE for EOL FreeBSD 12.3

Differential Revision: https://reviews.freebsd.org/D38664
2023-03-30 18:59:51 -05:00
Piotr Kubaj
a33aed5d84 lang/rust: update to 1.68.2
Changelog:	https://github.com/rust-lang/rust/releases/tag/1.68.2
2023-03-29 06:44:26 +02:00
Piotr Kubaj
7859c401e8 lang/rust: update to 1.68.1
Changelog:	https://github.com/rust-lang/rust/releases/tag/1.68.1
2023-03-28 06:22:41 +02:00
Mikael Urankar
d050a1c356 lang/rust: garbage collect patch
PR:		270271
2023-03-17 09:19:51 +01:00
Mikael Urankar
a22be893ea lang/rust: Update to 1.68.0
Announce:	https://blog.rust-lang.org/2023/03/09/Rust-1.68.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.68.0

PR:		270080
Tested by:	mikael,pkubaj
2023-03-16 12:11:14 +01:00
Piotr Kubaj
b782cbf1f0 lang/rust: fix fetching on powerpc64 2023-02-22 21:51:40 +01:00
Mikael Urankar
be2a720ce7 lang/rust: Update to 1.67.1
Announce:	https://blog.rust-lang.org/2023/01/26/Rust-1.67.0.html
		https://blog.rust-lang.org/2023/02/09/Rust-1.67.1.html
ChangeLog:      https://github.com/rust-lang/rust/releases/tag/1.67.0
		https://github.com/rust-lang/rust/releases/tag/1.67.1

PR:		269336
Reviewed by:	pkubaj
Tested by:	mikael,pkubaj
2023-02-13 10:38:08 +01:00
Piotr Kubaj
988dc66236 lang/rust: remove support for armv6 and powerpc64 elfv1
Support for both has been removed from lang/rust-bootstrap.
2023-01-26 12:23:17 +00:00
Mikael Urankar
f97d4f5702 lang/rust: Update to 1.66.1
Announce:	https://blog.rust-lang.org/2023/01/10/Rust-1.66.1.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.66.1
2023-01-11 17:59:49 +01:00
Mikael Urankar
0f9b08f604 lang/rust: Update to 1.66.0
Announce:	https://blog.rust-lang.org/2022/12/15/Rust-1.66.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.66.0
PR:		268415
Exp-run by:	antoine
Tested by:	mikael,pkubaj
2022-12-20 18:36:07 +01:00
Piotr Kubaj
d5e92a6ee4 lang/rust: don't link to libatomic on armv7
Reported by:	mikael
2022-11-26 01:09:41 +01:00
Piotr Kubaj
f0ee4a8524 lang/rust: fix build on armv7 the same way as for powerpc 2022-11-24 19:17:45 +01:00
Piotr Kubaj
b09414d5e3 lang/rust: allow using the default gcc on powerpc instead of forcing gcc12 2022-11-18 07:56:41 +01:00
Mikael Urankar
af39fba608 lang/rust: Update to 1.65.0
Announce:	https://blog.rust-lang.org/2022/11/03/Rust-1.65.0.html
ChangeLog:	https://github.com/rust-lang/rust/releases/tag/1.65.0

PR:		267622
Reviewed by:	tokib, pkubaj
Tested by:	mikael, pkubaj
2022-11-17 08:06:13 +01:00
Tobias Kortkamp
922686e800 USES=cargo: Fix CARGO_BUILDDEP=any-version
Fix update.sh to only replace the first version.
2022-11-08 10:12:59 +01:00
Mikael Urankar
264a6c503e lang/rust: Update to 1.64.0
Announce: https://blog.rust-lang.org/2022/09/22/Rust-1.64.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.64.0

PR:		267173
2022-10-30 13:07:07 +01:00
Daniel Engberg
e942e560c4 */*: Update path set in BUILD_DEPENDS for CMake
Commit b23ea4e2d2 changed its location to
devel/cmake-core

Approved by:	portmgr (blanket)
2022-09-09 22:32:24 +02:00
Stefan Eßer
fb16dfecae Remove WWW entries moved into port Makefiles
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)
2022-09-07 23:58:51 +02:00
Stefan Eßer
b7f05445c0 Add WWW entries to port Makefiles
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)
2022-09-07 23:10:59 +02:00
Piotr Kubaj
169c827509 lang/rust: fix powerpc64 elfv2 rustc bootstrap checksum
The previous checksum was wrong (size was ok). I recreated the bootstrap,
which also changed its size.
2022-08-26 00:20:40 +02:00