Charlie Li
2501f5298c
lang/rust: limit PORT_LLVM max to 18
...
LLVM 19 support only starts in Rust 1.82; this restriction will be
removed once the update is committed.
2024-10-17 23:18:44 -04:00
Mikael Urankar
9e25c683b8
lang/rust-nightly: Update to 1.83.0
2024-10-03 15:05:35 +02:00
Yuri Victorovich
da2f3f630c
devel/RStudio: Revert "feat(create-turbo): apply official-starter transform"
...
This reverts commit 52c0456dd5ec259ac94ee401db79c7ad3569f914.
I have no idea what lead to this commit into devel/RStudio and
lang/rust-nightly to be made.
2024-10-02 12:38:44 -07:00
Turbobot
52c0456dd5
feat(create-turbo): apply official-starter transform
2024-10-02 12:12:31 -07:00
Mikael Urankar
26df8c65a2
lang/rust: Update to 1.81.0
...
Announce: https://blog.rust-lang.org/2024/09/05/Rust-1.81.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.81.0
PR: 281300
Tested by: mikael,pkubaj,Herbert J. Skuhra
2024-09-10 12:54:49 +02:00
Mikael Urankar
bc4fedc1fe
lang/rust: Update to 1.80.1
...
Announce: https://blog.rust-lang.org/2024/07/25/Rust-1.80.0.html
https://blog.rust-lang.org/2024/08/08/Rust-1.80.1.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.80.0
PR: 280490,246993
Tested by: mikael,pkubaj
2024-08-26 10:07:42 +02:00
Piotr Kubaj
923194c2b0
lang/rust: enable rls on powerpc
...
Builds fine on 13.3-RELEASE and newer.
2024-07-02 08:44:28 +02:00
Mikael Urankar
2f482fb4b1
lang/rust: Attempt to fix build on armv7
...
Reported by: mandree,mmel
2024-06-23 16:51:30 +02:00
Mikael Urankar
0f41de8c96
lang/rust: reintroduce EXTRA_PATCHES for specific ARCH
...
It was dropped in 988dc662364d9ab3d7cea82c642068a27b0c1254 but it's
still needed.
Reported by: mandree,mmel
2024-06-23 16:45:44 +02:00
Charlie Li
dbc2286b18
lang/rust: bump PORT_LLVM minimum version to 17
...
Source: 1ac0239bd2
2024-06-18 08:56:04 -04:00
Mikael Urankar
f709c74213
lang/rust: Update to 1.79.0
...
Announce: https://blog.rust-lang.org/2024/06/13/Rust-1.79.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.79.0
PR: 279707
Tested by: pkubaj,mikael
2024-06-18 12:59:01 +02:00
Mikael Urankar
dcf699af6b
lang/rust-nightly: Update to 2024-05-07
2024-05-13 13:04:10 +02:00
Mikael Urankar
7e86fe10e4
lang/rust: Update to 1.78.0
...
While here, disable RUST_BACKTRACE on ppc64le only
Announce: https://blog.rust-lang.org/2024/05/02/Rust-1.78.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.78.0
PR: 278834
Tested by: pkubaj,mikael
2024-05-13 13:03:21 +02:00
Dan McGregor
2a1d35b12b
lang/rust: remap debuginfo
...
Prior to this update, when the rust compiler generates warnings
or errors that refer to source code for the standard library, its
messaging use the build time path, rather than the installed path.
It's probably more useful for most users of rust to not have to
mentally rename files to find the files in question.
PR: 278133
Differential Revision: https://reviews.freebsd.org/D44547
2024-05-13 13:03:21 +02:00
Piotr Kubaj
54f7b9d654
lang/rust: enable RUST_BACKTRACE on powerpc since it seems it works now
2024-04-27 16:14:35 +02:00
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