]> git.pld-linux.org Git - packages/qrupdate.git/commitdiff
- fixed parallel building
authorSzymon Siwek <sls@pld-linux.org>
Sat, 17 Sep 2011 18:45:14 +0000 (18:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    make_jn.patch -> 1.1
    qrupdate.spec -> 1.2

make_jn.patch [new file with mode: 0644]
qrupdate.spec

diff --git a/make_jn.patch b/make_jn.patch
new file mode 100644 (file)
index 0000000..9b2f6b4
--- /dev/null
@@ -0,0 +1,16 @@
+ this patch allows parallel builds (or else:
+"warning: jobserver unavailable: using -j1.  Add `+' to parent make rule.")
+--- qrupdate-1.1.1/Makefile.orig       2011-09-17 20:13:06.582130468 +0200
++++ qrupdate-1.1.1/Makefile    2011-09-17 20:13:17.671293784 +0200
+@@ -32,9 +32,9 @@ help:
+       @echo "   make install - installs everything"
+ lib:
+-      make -C src/ lib
++      +make -C src/ lib
+ solib:
+-      make -C src/ solib
++      +make -C src/ solib
+ test: lib
+       make -C test/
index 9d4faa8e0b9b5ada49c3d04e69a7a18c8978adf2..fadcf3321f72a10ac634118499aa42412f3ec0b8 100644 (file)
@@ -7,6 +7,7 @@ License:        GPL v3+
 Group:         Libraries
 Source0:       http://downloads.sourceforge.net/qrupdate/%{name}-%{version}.tar.gz
 # Source0-md5: 7782c7ee6c234e56a72d6b86c1856fa0
+Patch0:                make_jn.patch
 URL:           http://qrupdate.sourceforge.net/
 BuildRequires: blas-devel
 BuildRequires: gcc-fortran
@@ -49,9 +50,14 @@ Statyczna biblioteka QRupdate.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
-%{__make} lib solib \
+%{__make} lib\
+       FC=gfortran \
+       FFLAGS="%{rpmcflags}" \
+       BLAS="%{rpmldflags} -lblas"
+%{__make} solib\
        FC=gfortran \
        FFLAGS="%{rpmcflags}" \
        BLAS="%{rpmldflags} -lblas"
This page took 0.169349 seconds and 4 git commands to generate.