summaryrefslogtreecommitdiff
path: root/user/thunderbird/APKBUILD
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2024-07-27 09:46:54 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-08-09 15:11:38 -0500
commit1bcc2f5f6fbfa0c027334a367e5b00f6030bc9ab (patch)
treeb7b7f2873360308c516c6a9270340c23f453a5d9 /user/thunderbird/APKBUILD
parenta1c681d10a277ada668450db1c8b707511aeb7fa (diff)
downloadpackages-1bcc2f5f6fbfa0c027334a367e5b00f6030bc9ab.tar.gz
packages-1bcc2f5f6fbfa0c027334a367e5b00f6030bc9ab.tar.bz2
packages-1bcc2f5f6fbfa0c027334a367e5b00f6030bc9ab.tar.xz
packages-1bcc2f5f6fbfa0c027334a367e5b00f6030bc9ab.zip
user/{mozilla}: Use specified LLVM tool version
This ensures the Mozilla build system can find tools like llvm-objcopy without the desired LLVM version being the default one. Closes: #1230
Diffstat (limited to 'user/thunderbird/APKBUILD')
-rw-r--r--user/thunderbird/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/user/thunderbird/APKBUILD b/user/thunderbird/APKBUILD
index f8ff05c52..9dc8d646b 100644
--- a/user/thunderbird/APKBUILD
+++ b/user/thunderbird/APKBUILD
@@ -2,6 +2,7 @@
pkgname=thunderbird
pkgver=91.13.0
pkgrel=3
+_llvmver=14
pkgdesc="Email client from Mozilla"
url="https://www.thunderbird.net/"
arch="all !ppc" # #837
@@ -12,7 +13,7 @@ depends=""
# system-libs
# actual deps
makedepends="
- autoconf2.13 cargo cbindgen clang llvm14-dev node ncurses-dev
+ autoconf2.13 cargo cbindgen clang llvm${_llvmver}-dev node ncurses-dev
perl python3 rust cmd:which
alsa-lib-dev bzip2-dev icu-dev libevent-dev libffi-dev libpng-dev
@@ -110,6 +111,7 @@ prepare() {
}
build() {
+ export PATH="/usr/lib/llvm${_llvmver}/bin:${PATH}" #1230
export SHELL=/bin/sh
export BUILD_OFFICIAL=1
export MOZILLA_OFFICIAL=1