aboutsummaryrefslogtreecommitdiffstats
path: root/main/sfic
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-01-01 08:03:29 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-01-01 08:03:29 +0000
commita66e332dd08f66ad6c76b8c6d22dbbba7ca31f63 (patch)
tree65e08490fa2868d8e988b8132508aa97ab2a181f /main/sfic
parentc3bbd69176669746612aa7f48cbdac7aa9efe4f9 (diff)
downloadaports-a66e332dd08f66ad6c76b8c6d22dbbba7ca31f63.tar.bz2
aports-a66e332dd08f66ad6c76b8c6d22dbbba7ca31f63.tar.xz
main/sfic: build fix for automake-1.13
Diffstat (limited to 'main/sfic')
-rw-r--r--main/sfic/APKBUILD15
-rw-r--r--main/sfic/automake.patch11
2 files changed, 22 insertions, 4 deletions
diff --git a/main/sfic/APKBUILD b/main/sfic/APKBUILD
index 9ac867a902..14d28a5f31 100644
--- a/main/sfic/APKBUILD
+++ b/main/sfic/APKBUILD
@@ -9,13 +9,19 @@ makedepends="autoconf automake samba-dev"
depends=
url=http://sfic.sourceforge.net
source="http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
- $pkgname-0.1.7-signal.patch"
+ $pkgname-0.1.7-signal.patch
+ automake.patch"
subpackages="$pkgname-doc"
+_builddir="$srcdir"/sfic-$pkgver
prepare() {
- cd "$srcdir"/$pkgname-$pkgver
- patch -p1 < ../$pkgname-0.1.7-signal.patch || return 1
+ cd "$_builddir"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
sed -i -e 's/^ /\t/' src/Makefile.am || return 1
aclocal
autoconf
@@ -34,4 +40,5 @@ package() {
}
md5sums="6197f7a1e8b0fc4887d4573f67b7bb81 sfic-0.1.7.tar.gz
-e0c284f8b4e355b3ea52927fb02e163a sfic-0.1.7-signal.patch"
+e0c284f8b4e355b3ea52927fb02e163a sfic-0.1.7-signal.patch
+589e32798726f5da2c66eed34f178591 automake.patch"
diff --git a/main/sfic/automake.patch b/main/sfic/automake.patch
new file mode 100644
index 0000000000..a049ea4bd4
--- /dev/null
+++ b/main/sfic/automake.patch
@@ -0,0 +1,11 @@
+--- ./configure.ac.orig 2013-01-01 08:01:59.674695630 +0000
++++ ./configure.ac 2013-01-01 08:02:09.388115907 +0000
+@@ -11,7 +11,7 @@
+
+ # Checks for header files.
+ AC_HEADER_STDC
+-AM_CONFIG_HEADER(src/config.h)
++AC_CONFIG_HEADER(src/config.h)
+ AC_CHECK_HEADERS([stdlib.h string.h unistd.h signal.h])
+
+ # Checks for typedefs, structures, and compiler characteristics.