summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Klinkovsk√Ĺ2020-04-12 22:05:11 +0200
committerJakub Klinkovsk√Ĺ2020-04-12 22:05:11 +0200
commitde6bee94b0131b60bd222802bd90a3efa8eafd3a (patch)
treefb57cc1aecd433c9171c60c622c8ce0cb2a7aede
parent55f38c0c86a7152446a8f1d17af7bea810198c5a (diff)
downloadaur-de6bee94b0131b60bd222802bd90a3efa8eafd3a.tar.gz
patch for broken configure script
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD5
2 files changed, 5 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 31c13d470f7..54336741ce7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mandoc
pkgdesc = A suite of tools compiling mdoc from the OpenBSD project
pkgver = 1.14.5
- pkgrel = 1
+ pkgrel = 2
url = https://mdocml.bsd.lv/
arch = i686
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index ef96ef63e88..fe273925ae5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=mandoc
pkgver=1.14.5
-pkgrel=1
+pkgrel=2
pkgdesc='A suite of tools compiling mdoc from the OpenBSD project'
arch=('i686' 'x86_64')
url='https://mdocml.bsd.lv/'
@@ -22,6 +22,9 @@ sha256sums=('8219b42cb56fc07b2aa660574e6211ac38eefdbf21f41b698d3348793ba5d8f7'
prepare() {
cp "$srcdir"/configure.local $pkgname-$pkgver
+
+ # fix configure script - see https://aur.archlinux.org/packages/mandoc/#comment-739085
+ sed -i -e 's/^CC=.*/CC=cc/' $pkgname-$pkgver/configure
}
build() {