aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/polkit/APKBUILD8
-rw-r--r--main/polkit/automake.patch19
2 files changed, 24 insertions, 3 deletions
diff --git a/main/polkit/APKBUILD b/main/polkit/APKBUILD
index 0054fbecc4..f072cb76cc 100644
--- a/main/polkit/APKBUILD
+++ b/main/polkit/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=polkit
pkgver=0.105
-pkgrel=0
+pkgrel=1
pkgdesc="Application development toolkit for controlling system-wide privileges"
url="http://www.freedesktop.org/wiki/Software/PolicyKit"
arch="all"
@@ -15,6 +15,7 @@ install=
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
source="http://www.freedesktop.org/software/polkit/releases/polkit-$pkgver.tar.gz
0001-Bug-50145-make-netgroup-support-optional.patch
+ automake.patch
"
_builddir="$srcdir"/polkit-$pkgver
@@ -26,7 +27,7 @@ prepare() {
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
- libtoolize --force && aclocal && autoconf && automake || return 1
+ libtoolize --force && aclocal && autoconf && automake --add-missing || return 1
}
build() {
@@ -57,4 +58,5 @@ package() {
}
md5sums="9c29e1b6c214f0bd6f1d4ee303dfaed9 polkit-0.105.tar.gz
-bb4e7bffa5bad89bf3033b3d866a4087 0001-Bug-50145-make-netgroup-support-optional.patch"
+bb4e7bffa5bad89bf3033b3d866a4087 0001-Bug-50145-make-netgroup-support-optional.patch
+38dfb2ffefa4f84d64e4cd93fda145f2 automake.patch"
diff --git a/main/polkit/automake.patch b/main/polkit/automake.patch
new file mode 100644
index 0000000000..0f6825a261
--- /dev/null
+++ b/main/polkit/automake.patch
@@ -0,0 +1,19 @@
+--- ./configure.ac.orig 2012-12-31 21:39:08.969445979 +0000
++++ ./configure.ac 2012-12-31 21:39:30.136285425 +0000
+@@ -3,7 +3,7 @@
+ AC_PREREQ(2.59c)
+ AC_INIT(polkit, 0.105, http://lists.freedesktop.org/mailman/listinfo/polkit-devel)
+ AM_INIT_AUTOMAKE(polkit, 0.105)
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADER(config.h)
+ AM_MAINTAINER_MODE
+
+ m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
+@@ -24,7 +24,6 @@
+
+ AC_ISC_POSIX
+ AC_PROG_CC
+-AM_PROG_CC_STDC
+ AC_HEADER_STDC
+ AM_PROG_LIBTOOL
+ AC_PROG_MAKE_SET