summaryrefslogtreecommitdiffstats
path: root/main/libspf2
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-12-31 20:14:45 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-12-31 20:14:45 +0000
commitbe9a735b32f1c87658c1ffe9afc8358f4c2e5007 (patch)
tree9163914c261f77d88beb364238bb612d48783d31 /main/libspf2
parent613a9cca6a597c4d339e87d0697729de10ec9de6 (diff)
downloadaports-be9a735b32f1c87658c1ffe9afc8358f4c2e5007.tar.bz2
aports-be9a735b32f1c87658c1ffe9afc8358f4c2e5007.tar.xz
main/libspf2: build fix for automake-1.13
Diffstat (limited to 'main/libspf2')
-rw-r--r--main/libspf2/APKBUILD13
-rw-r--r--main/libspf2/automake.patch11
2 files changed, 19 insertions, 5 deletions
diff --git a/main/libspf2/APKBUILD b/main/libspf2/APKBUILD
index 54e973d74..200e91356 100644
--- a/main/libspf2/APKBUILD
+++ b/main/libspf2/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libspf2
pkgver=1.2.9
-pkgrel=7
+pkgrel=8
pkgdesc="Sender Policy Framework library, a part of the SPF/SRS protocol pair."
url="http://www.libspf2.org"
arch="all"
@@ -14,14 +14,16 @@ source="http://www.libspf2.org/spf/libspf2-$pkgver.tar.gz
0001-provide-dn_skipname.patch
libspf2-libreplace-fix.patch
libspf2-res_ninit-uclibc.patch
+ automake.patch
"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
- for i in ../*.patch; do
- msg "Apply $i"
- patch -p1 < $i || return 1
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
done
libtoolize --force && aclocal && automake && autoconf && autoheader
}
@@ -42,4 +44,5 @@ md5sums="3305df4d1b13ca964d80b23bb5e4e2b6 libspf2-1.2.9.tar.gz
dab7cc92ed1ff332e4fcfab95b8d35ea libspf2-localpolicy-fix.patch
201889cbd209aa7cae9ce11ed5ebaaa6 0001-provide-dn_skipname.patch
6dd2d5f33c5f1a5b7c14eec4c71767cd libspf2-libreplace-fix.patch
-06c981fcca0434d447f8a2749b51696f libspf2-res_ninit-uclibc.patch"
+06c981fcca0434d447f8a2749b51696f libspf2-res_ninit-uclibc.patch
+4a83b623d8751e4049f3e68b3a074d21 automake.patch"
diff --git a/main/libspf2/automake.patch b/main/libspf2/automake.patch
new file mode 100644
index 000000000..85dfbe3cc
--- /dev/null
+++ b/main/libspf2/automake.patch
@@ -0,0 +1,11 @@
+--- ./configure.ac.orig 2012-12-31 20:13:11.653376850 +0000
++++ ./configure.ac 2012-12-31 20:13:26.790177076 +0000
+@@ -6,7 +6,7 @@
+ AC_CONFIG_AUX_DIR(config)
+ AM_INIT_AUTOMAKE(libspf2, $PACKAGE_VERSION)
+ AC_CONFIG_SRCDIR([src/libspf2/spf_server.c])
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADER(config.h)
+
+ # remember the version info for later
+