summaryrefslogtreecommitdiff
path: root/community/multipath-tools/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2011-11-24 23:14:53 +0000
committerroot <root@rshg054.dnsready.net>2011-11-24 23:14:53 +0000
commit5894dd675f4bd3ba296d262fae99b3b87a0f87fd (patch)
treea39397b8475e7ca9c5d6950d607183669edfac53 /community/multipath-tools/PKGBUILD
parent1e1e4927b05d9b242bfe83794e3a98ab2c8f79ef (diff)
Thu Nov 24 23:14:53 UTC 2011
Diffstat (limited to 'community/multipath-tools/PKGBUILD')
-rw-r--r--community/multipath-tools/PKGBUILD19
1 files changed, 10 insertions, 9 deletions
diff --git a/community/multipath-tools/PKGBUILD b/community/multipath-tools/PKGBUILD
index 1fd153d38..ca99de9c5 100644
--- a/community/multipath-tools/PKGBUILD
+++ b/community/multipath-tools/PKGBUILD
@@ -1,6 +1,9 @@
-# Maintainer: Thomas S Hatch <thatch45 ar gmail dot com>
+# $Id: PKGBUILD 59357 2011-11-23 20:31:03Z andrea $
+# Maintainer:
+# Contributor: Thomas S Hatch <thatch45 ar gmail dot com>
# Contributor: Michael P <ptchinster@archlinux.us>
# Contributor: Matt Heagney <matt@heagney.com>
+
pkgname=multipath-tools
pkgver=0.4.9
pkgrel=4
@@ -9,27 +12,26 @@ arch=('i686' 'x86_64')
url="http://christophe.varoqui.free.fr/"
license=('GPL')
depends=('libaio' 'device-mapper')
-makedepends=()
-provides=()
-conflicts=()
-replaces=()
backup=('etc/multipath.conf' 'etc/multipath.conf.annotated' 'etc/rc.d/multipathd' )
install=multipath-tools.install
source=("http://christophe.varoqui.free.fr/multipath-tools/$pkgname-$pkgver.tar.bz2"
"multipath.conf"
"multipath.conf.annotated"
- "multipathd.rc")
-noextract=()
+ "multipathd.rc"
+ 'fix-build.patch')
md5sums=('a6d4b48afc28f1f50f5ee4b1b06d2765'
'd0fb11398cc628c7997111efdc5d52e5'
'5a93f993ec05fc99094d5139aabd3925'
- '1c2dcf43a6b5ae84ec1fae0fee071336')
+ '1c2dcf43a6b5ae84ec1fae0fee071336'
+ '2576fc535d7fa767837b1c7827013e52')
build() {
#Needs to be fixed upstream. Refer to
# https://bbs.archlinux.org/viewtopic.php?pid=793814#p793814
cd "$srcdir"
+ patch -p1 -i "${srcdir}"/fix-build.patch
+
env LDFLAGS=${LDFLAGS//-Wl,--as-needed}\
make
}
@@ -43,4 +45,3 @@ package() {
install -D -m 644 $srcdir/multipath.conf.annotated $pkgdir/etc/multipath.conf.annotated
install -D -m 755 $srcdir/multipathd.rc $pkgdir/etc/rc.d/multipathd
}
-