summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ddaa0a0cc2e4..9a7ebac99339 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=ypserv
pkgver=4.0
-pkgrel=2
+pkgrel=3
pkgdesc='Linux NIS Server'
arch=('i686' 'x86_64')
url='https://github.com/thkukuk/ypserv'
@@ -23,6 +23,8 @@ source=("$url/archive/$pkgname-$pkgver.tar.gz"
prepare() {
cd $pkgname-$pkgname-$pkgver
+ sed -i -r -e 's,AC_CHECK_HEADERS\(crypt.h\),AC_CHECK_HEADERS([paths.h crypt.h]),' \
+ configure.ac
./autogen.sh
}