summaryrefslogtreecommitdiff
path: root/core/iproute2
diff options
context:
space:
mode:
Diffstat (limited to 'core/iproute2')
-rw-r--r--core/iproute2/PKGBUILD16
1 files changed, 11 insertions, 5 deletions
diff --git a/core/iproute2/PKGBUILD b/core/iproute2/PKGBUILD
index 78824bcfd..a42ee69c7 100644
--- a/core/iproute2/PKGBUILD
+++ b/core/iproute2/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 180027 2013-03-14 20:45:46Z foutrelis $
+# $Id: PKGBUILD 184614 2013-05-07 16:15:47Z foutrelis $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Judd Vinet <jvinet@zeroflux.org>
pkgname=iproute2
-pkgver=3.8.0
+pkgver=3.9.0
pkgrel=1
pkgdesc="IP Routing Utilities"
arch=('i686' 'x86_64')
@@ -21,17 +21,23 @@ backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 'etc/iproute2/rt_pro
'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 'etc/iproute2/rt_tables')
source=(http://www.kernel.org/pub/linux/utils/net/$pkgname/$pkgname-$pkgver.tar.xz
iproute2-fhs.patch)
-sha1sums=('6d40dd2b91aad9ae084c99973dcdfdbf6fb353fc'
+sha1sums=('3f48a6d3019f1766f26cda6c4de5d3858837d92b'
'35b8cf2dc94b73eccad427235c07596146cd6f6c')
-build() {
+prepare() {
cd $srcdir/$pkgname-$pkgver
# set correct fhs structure
patch -Np1 -i "$srcdir/iproute2-fhs.patch"
- ./configure
+ # do not treat warnings as errors
+ sed -i 's/-Werror//' Makefile
+}
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ ./configure
make
}