mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 12:26:52 +02:00
main/libdnet: build fix for automake-1.13
This commit is contained in:
parent
8b13e1aab6
commit
20ece8e128
@ -10,19 +10,30 @@ subpackages="$pkgname-dev $pkgname-doc"
|
||||
depends=""
|
||||
makedepends="autoconf automake libtool"
|
||||
install=
|
||||
source="http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tgz"
|
||||
source="http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tgz
|
||||
automake.patch"
|
||||
|
||||
build ()
|
||||
{
|
||||
cd "$srcdir"/$pkgname-$pkgver
|
||||
_builddir="$srcdir"/$pkgname-$pkgver
|
||||
prepare() {
|
||||
cd "$_builddir"
|
||||
for i in $source; do
|
||||
case $i in
|
||||
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
|
||||
esac
|
||||
done
|
||||
# the libtool script does not add .so extention to we generate
|
||||
# new libtool
|
||||
aclocal -I config && autoconf && automake && libtoolize || return 1
|
||||
aclocal -I config && autoconf && automake --add-missing \
|
||||
&& libtoolize || return 1
|
||||
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$_builddir"
|
||||
./configure --prefix=/usr \
|
||||
--mandir=/usr/share/man \
|
||||
--without-python
|
||||
|
||||
--without-python \
|
||||
|| return 1
|
||||
make || return 1
|
||||
}
|
||||
|
||||
@ -32,4 +43,5 @@ package() {
|
||||
rm "$pkgdir"/usr/lib/*.la
|
||||
}
|
||||
|
||||
md5sums="9253ef6de1b5e28e9c9a62b882e44cc9 libdnet-1.12.tgz"
|
||||
md5sums="9253ef6de1b5e28e9c9a62b882e44cc9 libdnet-1.12.tgz
|
||||
059d1e50cfa27cab45af72530a4f74fd automake.patch"
|
||||
|
||||
11
main/libdnet/automake.patch
Normal file
11
main/libdnet/automake.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- ./configure.in.orig 2012-12-31 19:55:17.838213967 +0000
|
||||
+++ ./configure.in 2012-12-31 19:55:31.191667853 +0000
|
||||
@@ -10,7 +10,7 @@
|
||||
AC_SUBST(ac_aux_dir)
|
||||
|
||||
AM_INIT_AUTOMAKE(libdnet, 1.12)
|
||||
-AM_CONFIG_HEADER(include/config.h)
|
||||
+AC_CONFIG_HEADER(include/config.h)
|
||||
|
||||
dnl XXX - stop the insanity!@#$
|
||||
AM_MAINTAINER_MODE
|
||||
Loading…
x
Reference in New Issue
Block a user