-
Notifications
You must be signed in to change notification settings - Fork 81
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed makedeps dependency and modified copying of config.guess/conf…
…ig.sub
- Loading branch information
Showing
1 changed file
with
6 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,12 @@ | ||
diff --git a/PKGBUILD b/PKGBUILD | ||
index df5e9c3..9ed745c 100644 | ||
--- a/PKGBUILD | ||
+++ b/PKGBUILD | ||
@@ -10,6 +10,7 @@ license=('GPL3') | ||
depends=('glibc' 'gcc-libs' 'readline' 'gnutls' 'expat' | ||
'zlib' 'libidn2' 'ncurses' 'sh' 'hicolor-icon-theme') | ||
optdepends=('perl: needed for convert-netscape-cookies and verify-file') | ||
+makedepends=('autoconf') | ||
url="https://lftp.yar.ru/" | ||
backup=('etc/lftp.conf') | ||
source=(https://lftp.yar.ru/ftp/${pkgname}-${pkgver}.tar.xz{,.asc} | ||
@@ -23,6 +24,8 @@ prepare() { | ||
--- PKGBUILD | ||
+++ PKGBUILD | ||
@@ -23,6 +23,9 @@ prepare() { | ||
cd "${pkgname}"-${pkgver} | ||
# Use gnutls_certificate_verify_peers2 to verify server - FS#80239 | ||
patch -Np1 -i ../lftp-4.9.2-gnutls-peers2.patch | ||
+ cp /usr/share/autoconf/build-aux/config.guess "${srcdir}/${pkgname}-${pkgver}/build-aux" | ||
+ cp /usr/share/autoconf/build-aux/config.sub "${srcdir}/${pkgname}-${pkgver}/build-aux" | ||
+ # since config.guess and config.sub are way too old for supporting riscv64, we update them here | ||
+ find . -name config.guess -exec cp -f /usr/share/libtool/build-aux/config.guess {} \; | ||
+ find . -name config.sub -exec cp -f /usr/share/libtool/build-aux/config.sub {} \; | ||
} | ||
|
||
build() { |