diff options
Diffstat (limited to 'community/multipath-tools/PKGBUILD')
-rw-r--r-- | community/multipath-tools/PKGBUILD | 19 |
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 } - |