[arch-commits] Commit in lapack/trunk (PKGBUILD blas-link.patch)
Ronald van Haren
ronald at archlinux.org
Wed Feb 4 10:52:15 UTC 2009
Date: Wednesday, February 4, 2009 @ 05:52:15
Author: ronald
Revision: 26242
upgpkg: lapack 3.2-2
Modified:
lapack/trunk/PKGBUILD
lapack/trunk/blas-link.patch
-----------------+
PKGBUILD | 11 +++++++----
blas-link.patch | 20 ++++++++++----------
2 files changed, 17 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2009-02-04 10:40:56 UTC (rev 26241)
+++ PKGBUILD 2009-02-04 10:52:15 UTC (rev 26242)
@@ -5,24 +5,27 @@
pkgname=lapack
pkgver=3.2
-pkgrel=1
+pkgrel=2
pkgdesc="Linear Algebra PACKage"
url="http://www.netlib.org/lapack"
arch=('i686' 'x86_64')
license=("custom")
depends=('blas>=20070405-2')
source=(http://www.netlib.org/${pkgname}/${pkgname}-${pkgver}.tgz
- make.inc.archlinux)
+ make.inc.archlinux blas-link.patch)
md5sums=('db2e9b01bd157b65440f8306c0ba5446'
'cc368c407e396227c473db5bac92cf02')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- install -m755 -d "${pkgdir}/usr/lib" || return 1
- install -m755 -d "${pkgdir}/usr/share/man/man1" || return 1
+ install -d "${pkgdir}/usr/lib" || return 1
+ # install -d "${pkgdir}/usr/share/man/man1" || return 1
cp "${srcdir}/make.inc.archlinux" make.inc || return 1
+ # fix blas linking FS#13093
+ patch -Np1 -i ${srcdir}/blas-link.patch || return 1
+
# Build with Position Independent Code (PIC) FS#12464 (i686), required for x86_64
CFLAGS="${CFLAGS} -fPIC"
Modified: blas-link.patch
===================================================================
--- blas-link.patch 2009-02-04 10:40:56 UTC (rev 26241)
+++ blas-link.patch 2009-02-04 10:52:15 UTC (rev 26242)
@@ -1,18 +1,18 @@
-diff -ru lapack-3.1.1/SRC/Makefile lapack-3.1.1.patched/SRC/Makefile
---- lapack-3.1.1/SRC/Makefile 2007-02-23 22:33:05.000000000 +0100
-+++ lapack-3.1.1.patched/SRC/Makefile 2008-11-03 11:49:54.000000000 +0100
-@@ -294,7 +294,7 @@
+diff -Naur lapack-3.2.old/SRC/Makefile lapack-3.2/SRC/Makefile
+--- lapack-3.2.old/SRC/Makefile 2009-02-04 11:33:35.006839507 +0100
++++ lapack-3.2/SRC/Makefile 2009-02-04 11:33:51.987551506 +0100
+@@ -367,7 +367,7 @@
$(ALLAUX)
- ../$(LAPACKLIB): $(ALLOBJ)
-- $(ARCH) $(ARCHFLAGS) $@ $(ALLOBJ)
-+ $(ARCH) $(ARCHFLAGS) $@ $(ALLOBJ) -lblas
+ ../$(LAPACKLIB): $(ALLOBJ) $(ALLXOBJ)
+- $(ARCH) $(ARCHFLAGS) $@ $(ALLOBJ) $(ALLXOBJ)
++ $(ARCH) $(ARCHFLAGS) $@ $(ALLOBJ) $(ALLXOBJ) -lblas
$(RANLIB) $@
single: $(SLASRC) $(ALLAUX) $(SCLAUX)
-diff -ru lapack-3.1.1/TESTING/MATGEN/Makefile lapack-3.1.1.patched/TESTING/MATGEN/Makefile
---- lapack-3.1.1/TESTING/MATGEN/Makefile 2007-02-20 22:33:03.000000000 +0100
-+++ lapack-3.1.1.patched/TESTING/MATGEN/Makefile 2008-11-03 11:53:15.000000000 +0100
+diff -Naur lapack-3.2.old/TESTING/MATGEN/Makefile lapack-3.2/TESTING/MATGEN/Makefile
+--- lapack-3.2.old/TESTING/MATGEN/Makefile 2009-02-04 11:35:10.426806473 +0100
++++ lapack-3.2/TESTING/MATGEN/Makefile 2009-02-04 11:34:42.850565181 +0100
@@ -60,7 +60,7 @@
../../$(TMGLIB): $(SMATGEN) $(CMATGEN) $(SCATGEN) $(DMATGEN) \
More information about the arch-commits
mailing list