diff options
author | root <root@rshg054.dnsready.net> | 2013-06-18 01:11:38 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-06-18 01:11:38 -0700 |
commit | 614d2fec699c594b1a3a25c973e0b5150302ff0e (patch) | |
tree | 7d5b075f309f4004f09e77562975fad441662446 /community/sysstat | |
parent | 3c8e479bfe9fab72058c833f2909a26232114733 (diff) |
Tue Jun 18 01:11:08 PDT 2013
Diffstat (limited to 'community/sysstat')
-rw-r--r-- | community/sysstat/PKGBUILD | 16 | ||||
-rw-r--r-- | community/sysstat/lib64-fix.patch | 17 |
2 files changed, 29 insertions, 4 deletions
diff --git a/community/sysstat/PKGBUILD b/community/sysstat/PKGBUILD index 65b5ef7f5..4e2d23b81 100644 --- a/community/sysstat/PKGBUILD +++ b/community/sysstat/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 92637 2013-06-10 09:42:34Z spupykin $ +# $Id: PKGBUILD 92869 2013-06-17 10:57:15Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Martin Devera <devik@cdi.cz> pkgname=sysstat pkgver=10.1.6 -pkgrel=1 +pkgrel=2 pkgdesc="a collection of performance monitoring tools (iostat,isag,mpstat,pidstat,sadf,sar)" arch=('i686' 'x86_64') url="http://pagesperso-orange.fr/sebastien.godard/" @@ -16,9 +16,17 @@ options=(zipman) backup=('etc/conf.d/sysstat' 'etc/conf.d/sysstat.ioconf') source=(http://pagesperso-orange.fr/sebastien.godard/$pkgname-$pkgver.tar.gz - sysstat.service) + sysstat.service + lib64-fix.patch) md5sums=('909135c84e36d780d501274e7450f924' - '12ba479c606620193e8b7c6e982d5088') + '12ba479c606620193e8b7c6e982d5088' + '7ffa6bf990609d85367070f71b40a34b') + +prepare() { + cd $srcdir/$pkgname-$pkgver + patch -p1 <$srcdir/lib64-fix.patch + autoreconf +} build() { cd $srcdir/$pkgname-$pkgver diff --git a/community/sysstat/lib64-fix.patch b/community/sysstat/lib64-fix.patch new file mode 100644 index 000000000..6e4ca7c12 --- /dev/null +++ b/community/sysstat/lib64-fix.patch @@ -0,0 +1,17 @@ +diff -wbBur sysstat-10.1.6.q/configure.in sysstat-10.1.6/configure.in +--- sysstat-10.1.6.q/configure.in 2013-04-21 18:20:32.000000000 +0400 ++++ sysstat-10.1.6/configure.in 2013-06-17 14:45:41.733915298 +0400 +@@ -207,13 +207,6 @@ + fi + + SADC_DIR=$AuxPrefix/lib +-if test -d $AuxPrefix/lib64; then +- # Look for lm (long mode) flag to know if CPU is 64 bit +- grep " lm " /proc/cpuinfo >/dev/null 2>&1 +- if test $? = 0; then +- SADC_DIR=$AuxPrefix/lib64 +- fi +-fi + + AC_MSG_CHECKING(sadc directory) + AC_ARG_VAR([sa_lib_dir],[sadc directory]) |