summaryrefslogtreecommitdiff
path: root/dev-lang/rust
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-23 03:02:57 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-23 03:02:57 +0000
commit71dd9d29cdaf7cc0ecdb9ea37d128726a941c630 (patch)
tree4eccd905f575579fe47abb8a83bbdb44ceb8c929 /dev-lang/rust
parentc7a7ec40cf928d8fc6a8241aa208272c008c7b4d (diff)
gentoo auto-resync : 23:11:2024 - 03:02:56
Diffstat (limited to 'dev-lang/rust')
-rw-r--r--dev-lang/rust/Manifest14
-rw-r--r--dev-lang/rust/rust-1.74.1-r100.ebuild12
-rw-r--r--dev-lang/rust/rust-1.75.0-r100.ebuild12
-rw-r--r--dev-lang/rust/rust-1.77.1-r100.ebuild12
-rw-r--r--dev-lang/rust/rust-1.79.0-r100.ebuild12
-rw-r--r--dev-lang/rust/rust-1.80.1-r100.ebuild12
-rw-r--r--dev-lang/rust/rust-1.81.0-r100.ebuild12
-rw-r--r--dev-lang/rust/rust-1.82.0-r100.ebuild13
8 files changed, 56 insertions, 43 deletions
diff --git a/dev-lang/rust/Manifest b/dev-lang/rust/Manifest
index 2863a3fea8ec..ba8501034489 100644
--- a/dev-lang/rust/Manifest
+++ b/dev-lang/rust/Manifest
@@ -262,18 +262,18 @@ DIST rustc-1.82.0-src.tar.xz 219769328 BLAKE2B 611f33e134c2d459c9af1695c0a4d033d
DIST rustc-1.82.0-src.tar.xz.asc 801 BLAKE2B 8138fb15b8d7ec15be45378fe663207a8e87e3c527348ab079995b1840a771ed6e9d5464eb8855ac9e006c0cfcf54b1a4fea489d31e6c9899cb03e6f4c737b67 SHA512 3cd6b27e72041baf9996efa10f25aca2e04f3e3727b60ecfd90c1bef9c52d216d2dc130802f935b110e35766645a27637a01661aa8d5acf02bf64b02a107c93c
EBUILD rust-1.71.1-r100.ebuild 19554 BLAKE2B 8274e2bf33baf695afdb8899a9966c4a7276598c39d481557c3bfd3d3643bf3fdaeb49f10e123184c91ffc9fffb944bc28f548ef5ac34eacc239a0acc317b229 SHA512 1e8f80e9dc941d7c1dbdf23f681a6500cce7cd0bcd95605b04ca9b83fa1c842542ea37226cf7a37f27e4fd176008d8a62236a782de893d401f4f3af14fd33df1
EBUILD rust-1.71.1.ebuild 23467 BLAKE2B cc179525f8be2375e4bb0651b3210986254d027414bdef178a33309a7d99deba0a656454b5f1c84a852be104c93edaf5eec24c6f65f067365ed0a202d140fde0 SHA512 2a81e2a2c49d19d88c7794d809648a4630ca476410ea3270a772fa8d315b56c1b1698fc523ff5451a4336e23993f76d444c6c3b12d491ed89019f075a6fceb83
-EBUILD rust-1.74.1-r100.ebuild 20851 BLAKE2B 4868c46f2f35d2797b301acbb54225873341be8ba5b2a3d4598653e8e0d2ff82f766bb5686b7354c91e5e00276dc8422cd4f88a553957f52078abdaaa5fdec0d SHA512 1833f1459c7a8f394aca943f27e2e61ee6540b3dc34465dc6244a25c01a6feeb18e3eb8e550c58cb0b457fc3e45e72f9c881da4c2c8adc39f2093458d8bd1bc5
+EBUILD rust-1.74.1-r100.ebuild 20898 BLAKE2B 9e3d904fde480ba8f91dcc2b48d018dfd293a78698efdf111fa1ab8a045a16166930f0b2eb1168e9feffc4f253c64d9c293435c66de5d205fb6867b0196d48c0 SHA512 ea9efcfcc78a3f1d6bf2eabf4156f36632d7aaa0dc9fb2fef095f39c520ef4367a7a2a92257ec0ba4d9fa9531beceb64e1606cfa1ccb556d8dbe4fd0950b058d
EBUILD rust-1.74.1.ebuild 25118 BLAKE2B 4de0c3973eb9fff948c6254f6696f0de0b36f4d507fba035ef3873de2cbb92842bf409b371036fda337f6c66fb89fd156f4fbe21c12a72b3ef5ccada586ecfae SHA512 c24a3a85ba60916f12be526f0641546e921b5433f883516bf8e7c5b74362b0c8205c27533094911edc1eca8235bfebfeb820fb316d954509a96d200cf2574151
EBUILD rust-1.75.0-r1.ebuild 25282 BLAKE2B eebe5ea3b922221821b6dba77dea369248e5c6d952c45d1ca70d6952596b97c891fc29f502dad0192a690939a8f3fad6b5b2538daf72365b0113e8669a7f43d2 SHA512 96aaaccaf93d27b099ba0ec85882ff26b2eaa2021ca17768f607b5043b872a36e4c9d3ac13b4a7b8cbda6f3d7084edb1db11173d081a8972c51aa71a0e506935
-EBUILD rust-1.75.0-r100.ebuild 21014 BLAKE2B e017aaa4183405770981da07e302ecc5492fa2ea26d12544462f6a6827c9fa411045727492b0305212326dc088a28536f4c665071503027b3317498d78f91acd SHA512 e40c53c7e2bdf45cffa4400943a58998771364e77e2b2b040950dfede453ac70ec9dfe57adaa26085b190c416994e434f881531bedb3a08a6c22758246866cdd
-EBUILD rust-1.77.1-r100.ebuild 20977 BLAKE2B f483d4f2caa8d444f38cd10b04e99c7c0b94fc95ab4ae2dd44a14e4e9bb11404ab8599260c74b26b1873982fd649a98d1d87c32fb5604134a79745e343d40e50 SHA512 3a3497e5123f61266f0f506a2ae4ed165e623787dec64b8986519c66d6992628ebad4e36557dac3cecadd6d832a1477f4f7a7a7d7897cd54801b7d0eac5ef265
+EBUILD rust-1.75.0-r100.ebuild 21061 BLAKE2B 9a7f5ba100216ea5538edd8958765f70ccd03c4a303565f38ba3ebaf43a353e570c8dd310dc8754923c9b253a4287defbca23201c017dd09fb9bc241b994ef75 SHA512 f678841168a0af052889e2d741b1e6bdeaafe18efe1085691fa2bad172ce7bd5018239c69cb4c9df835ce9b3cba938ee038466cd23b70288f19d3bf624bf8861
+EBUILD rust-1.77.1-r100.ebuild 21024 BLAKE2B f3f7ae427fa8e04f798331e14e92b0993fb333f0b167a53e21784dd78429220dc0ba4fae1f7025ee2ac3abec689a05d8fb03036828c648033e254a5b5f9ab96c SHA512 1a18df6c72dd0c2989109bad51be8979fcaf05a12daee08e0e27358724789b1a153f834adc185dc864498b08dcc478e077945afd3bad89d7d28b35e226a2f192
EBUILD rust-1.77.1.ebuild 25245 BLAKE2B d514569674cc230e4959a9e73d38f14b263dac22fa7ec3f91c417d142caf65f5920ab44bc28e0e23c32bc7113f73c1b27fbf74a82215e35c33dd97ac4b3f2ee4 SHA512 b36d066101a248f31560fd7db39f9367e42618ba882c43df3807fc70823ec319365096623e2d41dd37a9babd83d2d55c007145ae7185a1818bd926783ad3eb5c
-EBUILD rust-1.79.0-r100.ebuild 21212 BLAKE2B bc99107c972ddf1862842c1309a70b1714856bd8fed11ee50e9b0281bb1a03bff4bd94386a5b4978c591c4ff812e5260efa27080afc2744e7396231ee6b1c80a SHA512 a91026b91a558f7360e75acf8992568cf1cde217ea81db5ffa880289bb7b7fe95a1265a4e3682b46814a9d50273f3644e8c5ab19dd6ed8700eb5a23ead1466f9
+EBUILD rust-1.79.0-r100.ebuild 21259 BLAKE2B 00eda229b9f521b15f57751beca019a1d7fea9f9cb908d6b6469a46fbe9a8ab01902cb3aa4804f8ea5f5989acad40fb8b412bd1bf40a4dfb4e3c0119351ca34d SHA512 def5f3d90d1daaca29acd1f786360b50d3aafeb7adf8acfc551e34108399019163d1aab15eb6f0e10c53dd603c23a9bc106bea455aec7626b7444e43b617d70c
EBUILD rust-1.79.0.ebuild 25480 BLAKE2B d2087cce728db5d5383e324476ba5380f95776d0d4742917742d9bd332b643c498f7a30ae32045d44a7aaeba7f235a614add12aa739765e4c308a02027ef02b4 SHA512 04ca9c5dcf088a0398ab05a39eb77119dd495248217fffe7451736cdee3c3ab1a274a54c4b6257384d39678cc87102d3e2ea3f0dcb40cbd657a0e07b7b93eaac
-EBUILD rust-1.80.1-r100.ebuild 21084 BLAKE2B e1deb0c8e6c9ff8b72e93321dd660448d5e3d0ad4c2419029ed008d26755ec9a2a88a99d49e1a0f93c37f7c79376346423b6d884c0d3f1397938a550977e8a36 SHA512 a2fa37d0928e418fb9c2ab0cdb685ff27bfce10fef52a00db18aa89361a5c552a3076df6b854ff882adf826a153ecfd7d74230eb7a5512e7f0fa5d524cc5b0a3
+EBUILD rust-1.80.1-r100.ebuild 21131 BLAKE2B 44625833e4eff762791ed8b8144bcc2212c971f6a0f14fe1e53c19cc2dd962b37dd8fbf847f14c25c907476ccb5fd4b6d790b6033842f79196a589476901fab5 SHA512 a976105ad8dfd619323b97311a65126ddd8bfc2a4abb59212c1e86c21a91f726c177ade65b09f00a70fba0f96cb1f66433bd0d6149fc3b956d2a260921644492
EBUILD rust-1.80.1.ebuild 25412 BLAKE2B 4905111b95c2710d39f414f7eb645a5906e24258608a3fd4b3e4d160846ca0a546a113474079ff8772012469bda7d7b915dc3de0ebd7c3f8038df3e35ef5efe2 SHA512 e10c2e029100faa54caec1fe98fb19c23c8b06a1f6b1a52b899eb1761945e7de1a835e4aa2526c060b952cd12d52f70a28118bff80d2ba51053cf88eef460dde
-EBUILD rust-1.81.0-r100.ebuild 21272 BLAKE2B 5a43aded1d994d3a580b2950632c1ca244b86a4b1b01a74d805216b422853fb5972b12339f4c590436022377e3475fd33247282410e2c4019a9b2ba3dddcef75 SHA512 5d89b15ea2a366a603a662ff83a4cf8c0a748a1d3716cc3b97f1fa381160b2a7c834282d12c87282081f021554ab28db15c882cca47cf3ce13d0b5b0ade53229
+EBUILD rust-1.81.0-r100.ebuild 21319 BLAKE2B 758a5f6ad877cc4eb7dd7ca9adb913c54886a7b23e410456cb310465f1a6fbb00e124b14f513f42a23edddc365349decbd7c7298ac08553543690b4d722c81ae SHA512 08813a66858c618430cf3cd3d35d6d01bb1c814f06d124bf24dd4291a858858224c5b89252c75c7a3a48e4c59eca11085236170f7218ad8102a5245a7b255ca8
EBUILD rust-1.81.0.ebuild 25380 BLAKE2B c213ba368f9f49be7e3c6f0260684f9b7c7f1afa7727ca7a7db7802b5a40a9009756464f9fb5a3165cbb5161e3e18181973a67d97a2e1cde13e4d6733ac5f2b9 SHA512 56501ddc2d06c2e7ff98e704a255d850897028d115588bca21ba43530f6d8a39ad684642e802faded8ae83da06dd6d6e503c76759e6d1df9f0fdebc0f6d6ec6c
-EBUILD rust-1.82.0-r100.ebuild 21468 BLAKE2B c69a109cdc3a3fddd8f8db3ce38f24d30e07ab65330eb2771ebf9dcf189bc632f4e9015f4d4dce9bb7509e8a4d237f429ab96713ee1e231cf0ab8cc575d655b7 SHA512 005717f76641cebb0fa8fbacb03d1ccb3061923740389b088ff3ff8b99706f10d6d0e90dcd3299efa3d3070ae3db8bb80f81193889d541595110459721a02b31
+EBUILD rust-1.82.0-r100.ebuild 21472 BLAKE2B 72de75412df8f38517c105ed776c578a0d3626d039d12ecebab39f7fe0e08735d1ba36ec019b6bdec315ddce94d0b2b2799d46025d5e30d8d1f8445dc7885c33 SHA512 413abdbf867e4acfc1f0d4759a27b02e604356ba84ee0cae4e1f43a7309544109950774ef24e613d7b206b0d132c6ca38ae8ac5b5ed3e6a3b0b6645a3076ecbd
EBUILD rust-1.82.0.ebuild 25639 BLAKE2B 276ef627db58d7d7cb85f4f84f0c68ef36da91822d75c83f13c14ac73b35729b2ce354f79506122449cdb8517bb34a6c1f13dc158987e05b088ae96e1ec33f11 SHA512 8dd95a85eff44f5567ab6f038399cddbd111213810a1390dbef0ed9d68284c46368511006158935db3d9b70f06851e7e3a562a9c0044f85a532dc6c812a38c24
MISC metadata.xml 1945 BLAKE2B cf3ed0b2550564faee94e53e21deb0e905b38cd45c503ba18f55c36f13093fa65c4dac8e544c891c9378b2ce32912cab1a1a0b61a277ff29f5288b672f4a218d SHA512 a28dc5b78e15aaeec5ccf028a053c3df6a12b24bcfb6e8948e2e25b3c04cc8ede5973f1e57c723081355853152baa8c8219e36bb603b714628e71587d2bba45e
diff --git a/dev-lang/rust/rust-1.74.1-r100.ebuild b/dev-lang/rust/rust-1.74.1-r100.ebuild
index 158a695500fa..d446b5263782 100644
--- a/dev-lang/rust/rust-1.74.1-r100.ebuild
+++ b/dev-lang/rust/rust-1.74.1-r100.ebuild
@@ -200,11 +200,6 @@ pkg_setup() {
export LIBGIT2_NO_PKG_CONFIG=1 #749381
if tc-is-cross-compiler; then
- export PKG_CONFIG_ALLOW_CROSS=1
- export PKG_CONFIG_PATH="${ROOT}/usr/$(get_libdir)/pkgconfig"
- export OPENSSL_INCLUDE_DIR="${ROOT}/usr/include"
- export OPENSSL_LIB_DIR="${ROOT}/usr/$(get_libdir)"
-
use system-llvm && die "USE=system-llvm not allowed when cross-compiling"
local cross_llvm_target="$(llvm_tuple_to_target "${CBUILD}")"
use "llvm_targets_${cross_llvm_target}" || \
@@ -223,6 +218,13 @@ pkg_setup() {
}
src_configure() {
+ if tc-is-cross-compiler; then
+ export PKG_CONFIG_ALLOW_CROSS=1
+ export PKG_CONFIG_PATH="${ESYSROOT}/usr/$(get_libdir)/pkgconfig"
+ export OPENSSL_INCLUDE_DIR="${ESYSROOT}/usr/include"
+ export OPENSSL_LIB_DIR="${ESYSROOT}/usr/$(get_libdir)"
+ fi
+
filter-lto # https://bugs.gentoo.org/862109 https://bugs.gentoo.org/866231
local rust_target="" rust_targets="" arch_cflags
diff --git a/dev-lang/rust/rust-1.75.0-r100.ebuild b/dev-lang/rust/rust-1.75.0-r100.ebuild
index cb184ff3fe86..40ab20831e94 100644
--- a/dev-lang/rust/rust-1.75.0-r100.ebuild
+++ b/dev-lang/rust/rust-1.75.0-r100.ebuild
@@ -202,11 +202,6 @@ pkg_setup() {
export LIBGIT2_NO_PKG_CONFIG=1 #749381
if tc-is-cross-compiler; then
- export PKG_CONFIG_ALLOW_CROSS=1
- export PKG_CONFIG_PATH="${ROOT}/usr/$(get_libdir)/pkgconfig"
- export OPENSSL_INCLUDE_DIR="${ROOT}/usr/include"
- export OPENSSL_LIB_DIR="${ROOT}/usr/$(get_libdir)"
-
use system-llvm && die "USE=system-llvm not allowed when cross-compiling"
local cross_llvm_target="$(llvm_tuple_to_target "${CBUILD}")"
use "llvm_targets_${cross_llvm_target}" || \
@@ -225,6 +220,13 @@ pkg_setup() {
}
src_configure() {
+ if tc-is-cross-compiler; then
+ export PKG_CONFIG_ALLOW_CROSS=1
+ export PKG_CONFIG_PATH="${ESYSROOT}/usr/$(get_libdir)/pkgconfig"
+ export OPENSSL_INCLUDE_DIR="${ESYSROOT}/usr/include"
+ export OPENSSL_LIB_DIR="${ESYSROOT}/usr/$(get_libdir)"
+ fi
+
filter-lto # https://bugs.gentoo.org/862109 https://bugs.gentoo.org/866231
local rust_target="" rust_targets="" arch_cflags
diff --git a/dev-lang/rust/rust-1.77.1-r100.ebuild b/dev-lang/rust/rust-1.77.1-r100.ebuild
index 7d5dad178050..372322af3e8f 100644
--- a/dev-lang/rust/rust-1.77.1-r100.ebuild
+++ b/dev-lang/rust/rust-1.77.1-r100.ebuild
@@ -200,11 +200,6 @@ pkg_setup() {
export LIBGIT2_NO_PKG_CONFIG=1 #749381
if tc-is-cross-compiler; then
- export PKG_CONFIG_ALLOW_CROSS=1
- export PKG_CONFIG_PATH="${ROOT}/usr/$(get_libdir)/pkgconfig"
- export OPENSSL_INCLUDE_DIR="${ROOT}/usr/include"
- export OPENSSL_LIB_DIR="${ROOT}/usr/$(get_libdir)"
-
use system-llvm && die "USE=system-llvm not allowed when cross-compiling"
local cross_llvm_target="$(llvm_tuple_to_target "${CBUILD}")"
use "llvm_targets_${cross_llvm_target}" || \
@@ -223,6 +218,13 @@ pkg_setup() {
}
src_configure() {
+ if tc-is-cross-compiler; then
+ export PKG_CONFIG_ALLOW_CROSS=1
+ export PKG_CONFIG_PATH="${ESYSROOT}/usr/$(get_libdir)/pkgconfig"
+ export OPENSSL_INCLUDE_DIR="${ESYSROOT}/usr/include"
+ export OPENSSL_LIB_DIR="${ESYSROOT}/usr/$(get_libdir)"
+ fi
+
filter-lto # https://bugs.gentoo.org/862109 https://bugs.gentoo.org/866231
local rust_target="" rust_targets="" arch_cflags
diff --git a/dev-lang/rust/rust-1.79.0-r100.ebuild b/dev-lang/rust/rust-1.79.0-r100.ebuild
index 0453475c9add..e1878c76dba4 100644
--- a/dev-lang/rust/rust-1.79.0-r100.ebuild
+++ b/dev-lang/rust/rust-1.79.0-r100.ebuild
@@ -200,11 +200,6 @@ pkg_setup() {
export LIBGIT2_NO_PKG_CONFIG=1 #749381
if tc-is-cross-compiler; then
- export PKG_CONFIG_ALLOW_CROSS=1
- export PKG_CONFIG_PATH="${ROOT}/usr/$(get_libdir)/pkgconfig"
- export OPENSSL_INCLUDE_DIR="${ROOT}/usr/include"
- export OPENSSL_LIB_DIR="${ROOT}/usr/$(get_libdir)"
-
use system-llvm && die "USE=system-llvm not allowed when cross-compiling"
local cross_llvm_target="$(llvm_tuple_to_target "${CBUILD}")"
use "llvm_targets_${cross_llvm_target}" || \
@@ -223,6 +218,13 @@ pkg_setup() {
}
src_configure() {
+ if tc-is-cross-compiler; then
+ export PKG_CONFIG_ALLOW_CROSS=1
+ export PKG_CONFIG_PATH="${ESYSROOT}/usr/$(get_libdir)/pkgconfig"
+ export OPENSSL_INCLUDE_DIR="${ESYSROOT}/usr/include"
+ export OPENSSL_LIB_DIR="${ESYSROOT}/usr/$(get_libdir)"
+ fi
+
filter-lto # https://bugs.gentoo.org/862109 https://bugs.gentoo.org/866231
local rust_target="" rust_targets="" arch_cflags
diff --git a/dev-lang/rust/rust-1.80.1-r100.ebuild b/dev-lang/rust/rust-1.80.1-r100.ebuild
index 6ca29dc16db2..9dbccd98b9a6 100644
--- a/dev-lang/rust/rust-1.80.1-r100.ebuild
+++ b/dev-lang/rust/rust-1.80.1-r100.ebuild
@@ -199,11 +199,6 @@ pkg_setup() {
export LIBGIT2_NO_PKG_CONFIG=1 #749381
if tc-is-cross-compiler; then
- export PKG_CONFIG_ALLOW_CROSS=1
- export PKG_CONFIG_PATH="${ROOT}/usr/$(get_libdir)/pkgconfig"
- export OPENSSL_INCLUDE_DIR="${ROOT}/usr/include"
- export OPENSSL_LIB_DIR="${ROOT}/usr/$(get_libdir)"
-
use system-llvm && die "USE=system-llvm not allowed when cross-compiling"
local cross_llvm_target="$(llvm_tuple_to_target "${CBUILD}")"
use "llvm_targets_${cross_llvm_target}" || \
@@ -222,6 +217,13 @@ pkg_setup() {
}
src_configure() {
+ if tc-is-cross-compiler; then
+ export PKG_CONFIG_ALLOW_CROSS=1
+ export PKG_CONFIG_PATH="${ESYSROOT}/usr/$(get_libdir)/pkgconfig"
+ export OPENSSL_INCLUDE_DIR="${ESYSROOT}/usr/include"
+ export OPENSSL_LIB_DIR="${ESYSROOT}/usr/$(get_libdir)"
+ fi
+
filter-lto # https://bugs.gentoo.org/862109 https://bugs.gentoo.org/866231
local rust_target="" rust_targets="" arch_cflags
diff --git a/dev-lang/rust/rust-1.81.0-r100.ebuild b/dev-lang/rust/rust-1.81.0-r100.ebuild
index fd51c0508930..8d7100d336d7 100644
--- a/dev-lang/rust/rust-1.81.0-r100.ebuild
+++ b/dev-lang/rust/rust-1.81.0-r100.ebuild
@@ -203,11 +203,6 @@ pkg_setup() {
export LIBGIT2_NO_PKG_CONFIG=1 #749381
if tc-is-cross-compiler; then
- export PKG_CONFIG_ALLOW_CROSS=1
- export PKG_CONFIG_PATH="${ROOT}/usr/$(get_libdir)/pkgconfig"
- export OPENSSL_INCLUDE_DIR="${ROOT}/usr/include"
- export OPENSSL_LIB_DIR="${ROOT}/usr/$(get_libdir)"
-
use system-llvm && die "USE=system-llvm not allowed when cross-compiling"
local cross_llvm_target="$(llvm_tuple_to_target "${CBUILD}")"
use "llvm_targets_${cross_llvm_target}" || \
@@ -226,6 +221,13 @@ pkg_setup() {
}
src_configure() {
+ if tc-is-cross-compiler; then
+ export PKG_CONFIG_ALLOW_CROSS=1
+ export PKG_CONFIG_PATH="${ESYSROOT}/usr/$(get_libdir)/pkgconfig"
+ export OPENSSL_INCLUDE_DIR="${ESYSROOT}/usr/include"
+ export OPENSSL_LIB_DIR="${ESYSROOT}/usr/$(get_libdir)"
+ fi
+
filter-lto # https://bugs.gentoo.org/862109 https://bugs.gentoo.org/866231
local rust_target="" rust_targets="" arch_cflags
diff --git a/dev-lang/rust/rust-1.82.0-r100.ebuild b/dev-lang/rust/rust-1.82.0-r100.ebuild
index a9d301b6a502..63c8e27e3eaa 100644
--- a/dev-lang/rust/rust-1.82.0-r100.ebuild
+++ b/dev-lang/rust/rust-1.82.0-r100.ebuild
@@ -135,7 +135,6 @@ PATCHES=(
"${FILESDIR}"/1.74.1-cross-compile-libz.patch
#"${FILESDIR}"/1.72.0-bump-libc-deps-to-0.2.146.patch # pending refresh
"${FILESDIR}"/1.67.0-doc-wasm.patch
- "${FILESDIR}"/1.79.0-revert-8c40426.patch
)
clear_vendor_checksums() {
@@ -199,11 +198,6 @@ pkg_setup() {
export LIBGIT2_NO_PKG_CONFIG=1 #749381
if tc-is-cross-compiler; then
- export PKG_CONFIG_ALLOW_CROSS=1
- export PKG_CONFIG_PATH="${ROOT}/usr/$(get_libdir)/pkgconfig"
- export OPENSSL_INCLUDE_DIR="${ROOT}/usr/include"
- export OPENSSL_LIB_DIR="${ROOT}/usr/$(get_libdir)"
-
use system-llvm && die "USE=system-llvm not allowed when cross-compiling"
local cross_llvm_target="$(llvm_tuple_to_target "${CBUILD}")"
use "llvm_targets_${cross_llvm_target}" || \
@@ -234,6 +228,13 @@ src_prepare() {
}
src_configure() {
+ if tc-is-cross-compiler; then
+ export PKG_CONFIG_ALLOW_CROSS=1
+ export PKG_CONFIG_PATH="${ESYSROOT}/usr/$(get_libdir)/pkgconfig"
+ export OPENSSL_INCLUDE_DIR="${ESYSROOT}/usr/include"
+ export OPENSSL_LIB_DIR="${ESYSROOT}/usr/$(get_libdir)"
+ fi
+
filter-lto # https://bugs.gentoo.org/862109 https://bugs.gentoo.org/866231
local rust_target="" rust_targets="" arch_cflags