aboutsummaryrefslogtreecommitdiffstats
path: root/main/jwhois
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-12-31 15:59:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-12-31 16:02:15 +0000
commitc897e4c43e28a06b1fc4e43eb828cb40a63b722c (patch)
treee41195cf7fe95b8e3623e16f61bc77947add4cb1 /main/jwhois
parentd2070944767f7cedd54c6c1611e683a23e62a168 (diff)
downloadaports-c897e4c43e28a06b1fc4e43eb828cb40a63b722c.tar.bz2
aports-c897e4c43e28a06b1fc4e43eb828cb40a63b722c.tar.xz
main/jwhois: build fix for automake-1.13
Diffstat (limited to 'main/jwhois')
-rw-r--r--main/jwhois/APKBUILD10
-rw-r--r--main/jwhois/automake.patch11
2 files changed, 19 insertions, 2 deletions
diff --git a/main/jwhois/APKBUILD b/main/jwhois/APKBUILD
index 78b562b843..c5a5c89eba 100644
--- a/main/jwhois/APKBUILD
+++ b/main/jwhois/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=jwhois
pkgver=4.0
-pkgrel=2
+pkgrel=3
pkgdesc="WHOIS/RWHOIS client"
url="http://www.gnu.org/software/jwhois/"
license="GPL"
@@ -10,6 +10,7 @@ makedepends="libiconv-dev autoconf automake libtool gdbm-dev"
install=
subpackages="$pkgname-doc"
source="http://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz
+ automake.patch
jwhois-libiconv.patch"
arch="all"
@@ -17,7 +18,11 @@ _builddir="$srcdir/$pkgname-$pkgver"
prepare() {
cd "$_builddir"
- patch -p1 < "$srcdir/jwhois-libiconv.patch"
+ for i in $source; do
+ case $i in
+ *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
+ esac
+ done
autoreconf
}
@@ -39,4 +44,5 @@ package() {
}
md5sums="977d0ba90ee058a7998c94d933fc9546 jwhois-4.0.tar.gz
+0dea1e6255b1b826043c8784882b2048 automake.patch
f861d1891a718f3b370e1ac032b0b337 jwhois-libiconv.patch"
diff --git a/main/jwhois/automake.patch b/main/jwhois/automake.patch
new file mode 100644
index 0000000000..f451342c50
--- /dev/null
+++ b/main/jwhois/automake.patch
@@ -0,0 +1,11 @@
+--- ./configure.ac.orig 2012-12-31 15:46:58.239163472 +0000
++++ ./configure.ac 2012-12-31 15:47:47.289600890 +0000
+@@ -20,7 +20,7 @@
+ AC_INIT
+ AC_CONFIG_SRCDIR([src/jconfig.c])
+ AM_INIT_AUTOMAKE(jwhois,4.0)
+-AM_CONFIG_HEADER(config.h)
++AC_CONFIG_HEADER(config.h)
+
+ AH_TEMPLATE([PACKAGE], [package name])
+ AH_TEMPLATE([VERSION], [package version])