Commit c897e4c4 authored by Natanael Copa's avatar Natanael Copa

main/jwhois: build fix for automake-1.13

parent d2070944
# 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"
--- ./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])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment