diff options
author | Luca Pizzamiglio <pizzamig@FreeBSD.org> | 2023-07-09 21:28:37 +0000 |
---|---|---|
committer | Luca Pizzamiglio <pizzamig@FreeBSD.org> | 2023-07-23 15:19:40 +0000 |
commit | 73e201a8653f21dd811cdc520897e8a3e4a7bb2f (patch) | |
tree | 4bedc6654b9b844d738e44ba235cdaf434408979 | |
parent | 07c5c543057dd983271285d75effa3e0f7b64f8e (diff) | |
download | ports-73e201a8653f21dd811cdc520897e8a3e4a7bb2f.tar.gz ports-73e201a8653f21dd811cdc520897e8a3e4a7bb2f.zip |
www/lychee: Reduce memory usage during build
Removing profile.release is going to create a new binary.
* no debug information
* opt-level from 3 to 2
With less memory requirements, we hope to have successful build on
32 bits architecture
(cherry picked from commit 00f0bec91b74e609af75f442c8e38971d302d3ac)
-rw-r--r-- | www/lychee/Makefile | 2 | ||||
-rw-r--r-- | www/lychee/files/patch-Cargo.toml | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/www/lychee/Makefile b/www/lychee/Makefile index 90be5b378642..2e496ab3f8ca 100644 --- a/www/lychee/Makefile +++ b/www/lychee/Makefile @@ -1,7 +1,7 @@ PORTNAME= lychee DISTVERSIONPREFIX= v DISTVERSION= 0.13.0 -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= www net MAINTAINER= pizzamig@FreeBSD.org diff --git a/www/lychee/files/patch-Cargo.toml b/www/lychee/files/patch-Cargo.toml new file mode 100644 index 000000000000..2e3055eb572a --- /dev/null +++ b/www/lychee/files/patch-Cargo.toml @@ -0,0 +1,9 @@ +--- Cargo.toml.orig 2023-07-09 21:00:15 UTC ++++ Cargo.toml +@@ -6,6 +6,3 @@ resolver = "2" + "benches", + ] + resolver = "2" +- +-[profile.release] +-debug = true |