summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/libtirpc/APKBUILD11
-rw-r--r--main/libtirpc/automake.patch11
2 files changed, 18 insertions, 4 deletions
diff --git a/main/libtirpc/APKBUILD b/main/libtirpc/APKBUILD
index b1a898ab1..9ba43179d 100644
--- a/main/libtirpc/APKBUILD
+++ b/main/libtirpc/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libtirpc
pkgver=0.2.2
-pkgrel=2
+pkgrel=3
pkgdesc="Transport Independent RPC library (SunRPC replacement)"
url="http://libtirpc.sourceforge.net/"
arch="all"
@@ -11,7 +11,8 @@ makedepends="libgssglue-dev heimdal-dev autoconf automake libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/sourceforge/$pkgname/$pkgname-$pkgver.tar.bz2
nis.h
- libtirpc-no-des.patch"
+ libtirpc-no-des.patch
+ automake.patch"
depends_dev="libgssglue-dev heimdal-dev"
prepare() {
@@ -28,7 +29,8 @@ prepare() {
mkdir src/rpcsvc
cp "$srcdir"/nis.h src/rpcsvc/
- sh bootstrap && libtoolize
+ libtoolize --force && aclocal -I m4 && autoconf \
+ && automake --add-missing || return 1
}
build() {
@@ -46,4 +48,5 @@ package() {
}
md5sums="74c41c15c2909f7d11d9c7bfa7db6273 libtirpc-0.2.2.tar.bz2
082dff1bc78bdcbac6d305c1534fe3c0 nis.h
-1f1afd528c327975e40ffe77b2d9e13d libtirpc-no-des.patch"
+1f1afd528c327975e40ffe77b2d9e13d libtirpc-no-des.patch
+5cac96c765922f33de61a215aa264a7f automake.patch"
diff --git a/main/libtirpc/automake.patch b/main/libtirpc/automake.patch
new file mode 100644
index 000000000..5cd3c3d62
--- /dev/null
+++ b/main/libtirpc/automake.patch
@@ -0,0 +1,11 @@
+--- ./configure.ac.orig 2012-12-31 20:17:44.565801520 +0000
++++ ./configure.ac 2012-12-31 20:17:57.815919238 +0000
+@@ -17,7 +17,7 @@
+ fi
+
+ AC_PROG_CC
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADER(config.h)
+ AC_PROG_LIBTOOL
+ AC_HEADER_DIRENT
+ AC_PREFIX_DEFAULT(/usr)