Date: Saturday, December 17, 2022 @ 12:25:13
  Author: freswa
Revision: 1359736

fix bitcoin-qt being linked against wrong db library

fixes FS#76841

Modified:
  bitcoin/trunk/PKGBUILD

----------+
 PKGBUILD |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-17 12:22:37 UTC (rev 1359735)
+++ PKGBUILD    2022-12-17 12:25:13 UTC (rev 1359736)
@@ -7,10 +7,10 @@
 pkgbase=bitcoin
 pkgname=('bitcoin-daemon' 'bitcoin-cli' 'bitcoin-qt' 'bitcoin-tx')
 pkgver=24.0.1
-pkgrel=2
+pkgrel=3
 arch=('x86_64')
 url="https://bitcoin.org/en/wallets/desktop/linux/bitcoincore/";
-makedepends=('boost' 'libevent' 'qt5-base' 'qt5-tools' 'qrencode' 'miniupnpc' 
'protobuf' 'zeromq')
+makedepends=('boost' 'libevent' 'qt5-base' 'qt5-tools' 'qrencode' 'miniupnpc' 
'protobuf' 'zeromq' 'db5.3')
 license=('MIT')
 
source=("$pkgbase-$pkgver.tar.gz::https://bitcoincore.org/bin/bitcoin-core-$pkgver/bitcoin-$pkgver.tar.gz";
         
"$pkgbase-$pkgver.SHA256SUMS::https://bitcoincore.org/bin/bitcoin-core-$pkgver/SHA256SUMS";
@@ -46,7 +46,7 @@
 
 build() {
   cd $pkgbase-$pkgver
-  ./configure --prefix=/usr --with-gui=qt5 --with-incompatible-bdb 
LDFLAGS="-ldb_cxx-5.3 $LDFLAGS" CPPFLAGS="-I/usr/include/db5.3/ $CPPFLAGS"
+  ./configure --prefix=/usr --with-gui=qt5 --with-incompatible-bdb 
BDB_LIBS="-ldb_cxx-5.3" BDB_CFLAGS="-I$/usr/include/db5.3"
   make
 }
 

Reply via email to