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
This commit is contained in:
Luca Pizzamiglio 2023-07-09 23:28:37 +02:00
parent a524ce9a70
commit 00f0bec91b
2 changed files with 10 additions and 1 deletions

View file

@ -1,7 +1,7 @@
PORTNAME= lychee
DISTVERSIONPREFIX= v
DISTVERSION= 0.13.0
PORTREVISION= 0
PORTREVISION= 1
CATEGORIES= www net
MAINTAINER= pizzamig@FreeBSD.org

View file

@ -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