r46383 - in /packages/superlu/trunk/debian: changelog control rules

sebastien at users.alioth.debian.org sebastien at users.alioth.debian.org
Wed Nov 27 21:52:21 UTC 2013


Author: sebastien
Date: Wed Nov 27 21:52:21 2013
New Revision: 46383

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=46383
Log:
Fix the build rule: the static library shipped in the package was built with -fPIC

Modified:
    packages/superlu/trunk/debian/changelog
    packages/superlu/trunk/debian/control
    packages/superlu/trunk/debian/rules

Modified: packages/superlu/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/superlu/trunk/debian/changelog?rev=46383&op=diff
==============================================================================
--- packages/superlu/trunk/debian/changelog	(original)
+++ packages/superlu/trunk/debian/changelog	Wed Nov 27 21:52:21 2013
@@ -12,6 +12,7 @@
   * Use new scheme for BLAS dependencies.
   * Remove the broken infrastructure for running tests from /usr/share/doc.
   * Add new libsuperlu-doc package.
+  * debian/control: updated Standards-Version to 3.9.5
   
   [ Christophe Trophime ]
   * New upstream release (Closes: #709165)
@@ -21,7 +22,6 @@
   * Add patch format-security.patch
   * Add patch Makefile.patch
   * Convert to 3.0 (quilt) source format
-  * debian/control: updated Standards-Version to 3.9.3
 
   [ Daniel Leidert ]
   * debian/control: Added Homepage field.

Modified: packages/superlu/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/superlu/trunk/debian/control?rev=46383&op=diff
==============================================================================
--- packages/superlu/trunk/debian/control	(original)
+++ packages/superlu/trunk/debian/control	Wed Nov 27 21:52:21 2013
@@ -4,7 +4,7 @@
 Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
 Uploaders: Christophe Prud'homme <prudhomm at debian.org>
 Build-Depends: debhelper (>= 9), gcc (>= 3.0), csh, libblas-dev | libblas.so
-Standards-Version: 3.9.3
+Standards-Version: 3.9.5
 Homepage: http://crd-legacy.lbl.gov/~xiaoye/SuperLU/
 Vcs-Svn: svn://svn.debian.org/svn/debian-science/packages/superlu/trunk
 Vcs-Browser: http://svn.debian.org/wsvn/debian-science/packages/superlu/trunk

Modified: packages/superlu/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/superlu/trunk/debian/rules?rev=46383&op=diff
==============================================================================
--- packages/superlu/trunk/debian/rules	(original)
+++ packages/superlu/trunk/debian/rules	Wed Nov 27 21:52:21 2013
@@ -21,14 +21,15 @@
 major=4
 
 override_dh_auto_build:
-	cd SRC && $(MAKE) CFLAGS="$(CFLAGS) -pipe" DEBUGFLAGS="-DNDEBUG" LDFLAGS="$(LDFLAGS) -s"
-	cd SRC && $(MAKE) clean
-	
+	# Build shared library
 	cd SRC && $(MAKE) NOOPTS="-fPIC" CFLAGS="$(CFLAGS) -fPIC -pipe" DEBUGFLAGS="-DNDEBUG" LDFLAGS="$(LDFLAGS)"
 	cd SRC && gcc -shared $(LDFLAGS) -Wl,-soname,libsuperlu.so.$(major) -o ../libsuperlu.so.$(version) `ls *.o` -lblas -lm
 	ln -sf libsuperlu.so.$(version) libsuperlu.so.$(major)
 	ln -sf libsuperlu.so.$(version) libsuperlu.so
+	# Build static library
 	cd SRC && $(MAKE) clean
+	rm -f libsuperlu.a
+	cd SRC && $(MAKE) CFLAGS="$(CFLAGS) -pipe" DEBUGFLAGS="-DNDEBUG" LDFLAGS="$(LDFLAGS) -s"
 
 override_dh_auto_clean:
 	[ ! -f Makefile ] || $(MAKE) clean




More information about the debian-science-commits mailing list